diff --git a/reboot b/reboot index cb760cb..cd315ee 100755 --- a/reboot +++ b/reboot @@ -20,6 +20,7 @@ for host in ${hosts[@]}; do echo $host echo + ssh root@$host 'systemctl is-active bird.service >/dev/null && systemctl stop bird.service && sleep 5' systemctl -H $host reboot sleep $2