reboot when sh utting down for good measure

This commit is contained in:
Donald Burr 2015-02-19 15:17:30 -08:00
parent 9a032bcff0
commit 4b94396d48

View file

@ -6,5 +6,5 @@ fi
NUM=0
for HOST in `cat "$1"`; do
>&2 echo stopping host $HOST
ssh pi@$HOST "screen -X quit"
ssh pi@$HOST "screen -X quit && sudo reboot"
done