mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-29 02:46:32 -05:00
reboot: add BGP integration
This commit is contained in:
parent
209b1b5def
commit
c7276bdc2d
1 changed files with 1 additions and 0 deletions
1
reboot
1
reboot
|
|
@ -20,6 +20,7 @@ for host in ${hosts[@]}; do
|
||||||
echo $host
|
echo $host
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
ssh root@$host 'systemctl is-active bird.service >/dev/null && systemctl stop bird.service && sleep 5'
|
||||||
systemctl -H $host reboot
|
systemctl -H $host reboot
|
||||||
sleep $2
|
sleep $2
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue