mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-18 22:12:56 -05:00
reboot: add BGP integration
This commit is contained in:
parent
da67af9299
commit
0db92863c3
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