reboot when sh utting down for good measure
This commit is contained in:
parent
9a032bcff0
commit
4b94396d48
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ fi
|
||||||
NUM=0
|
NUM=0
|
||||||
for HOST in `cat "$1"`; do
|
for HOST in `cat "$1"`; do
|
||||||
>&2 echo stopping host $HOST
|
>&2 echo stopping host $HOST
|
||||||
ssh pi@$HOST "screen -X quit"
|
ssh pi@$HOST "screen -X quit && sudo reboot"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue