FreeNAS Code
This project has moved to github - see https://github.com/freenas
Brought to you by:
cochard,
mattolander
#!/bin/sh # # rc.initial.reboot # Copyright (c) 2007-2009 Volker Theile (votdev@gmx.de) # # part of FreeNAS (http://freenas.org) # Copyright (C) 2005-2009 Olivier Cochard-Labbe <olivier@freenas.org>. # All rights reserved. # Display dialog cdialog --defaultno --yesno "Do you really want to reboot the system?" 5 46 case $? in 0) /sbin/shutdown -r now >/dev/null; ;; 1) ;; 255) ;; esac