This commit is contained in:
parent
fe1717cf05
commit
14f31f0886
@ -9,7 +9,7 @@ chmod 600 .ssh/id_rsa
|
|||||||
for file in $CHFILENAMES; do
|
for file in $CHFILENAMES; do
|
||||||
if [[ $file == *"zone" ]]; then
|
if [[ $file == *"zone" ]]; then
|
||||||
scp $file "$PLUGIN_USER"@"$PLUGIN_HOSTS":"$PLUGIN_TARGET"/$file
|
scp $file "$PLUGIN_USER"@"$PLUGIN_HOSTS":"$PLUGIN_TARGET"/$file
|
||||||
ZONE = $(echo $file | sed 's/\.zone//')
|
ZONE=$(echo $file | sed 's/\.zone//')
|
||||||
ssh "PLUGIN_USER"@"$PLUGIN_HOSTS" nsd-control reload $ZONE
|
ssh "PLUGIN_USER"@"$PLUGIN_HOSTS" nsd-control reload $ZONE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user