Forum Discussion
PeteWhite
Jul 08, 2014Employee
Just set this up - I thought that the reboot question at the end of config could be better. It asks if you want to reboot without prompting for the correct answers. What I normally do it use something like: echo -e "Do you want to reboot? n/[y]:" and if they don't input n then reboot.
ie
echo -e "Do you want to reboot? n/[y]:"
read yesno
if [ x$yesno -ne xy ]
then
reboot
fi
Hope that makes some sense