Commit 2737cbbd authored by Matthieu Cattin's avatar Matthieu Cattin

sh: Change command to turn off computer from 'halt' to 'shutdown -h now'.

-> 'halt' isn't working properly with ubuntu 14.04 (freezes).
parent f292bfda
...@@ -68,5 +68,5 @@ echo -n "End of the test, do you want to switch the computer OFF? [y,n]" ...@@ -68,5 +68,5 @@ echo -n "End of the test, do you want to switch the computer OFF? [y,n]"
read reply read reply
if [ "$reply" = "y" ] if [ "$reply" = "y" ]
then then
sudo halt sudo shutdown -h now
fi fi
\ No newline at end of file
...@@ -34,5 +34,5 @@ echo -n "End of the test, do you want to switch the computer OFF? [y,n]" ...@@ -34,5 +34,5 @@ echo -n "End of the test, do you want to switch the computer OFF? [y,n]"
read reply read reply
if [ "$reply" = "y" ] if [ "$reply" = "y" ]
then then
sudo halt sudo shutdown -h now
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment