Commit d7a5722f authored by Matthieu Cattin's avatar Matthieu Cattin

Add computer switch OFF option at the end of the tests.

parent a4806454
......@@ -58,5 +58,9 @@ done
echo "--------------------------------------------------------------"
echo " "
echo -n "End of the test, press [ENTER] to exit... "
read tmp
\ No newline at end of file
echo -n "End of the test, do you want to switch the computer OFF? [y.n]"
read reply
if [ "$reply" == "y" ]
then
sudo halt
fi
\ No newline at end of file
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