moved reboot and restart stuff to shell script daemons
[wyse_ntpd.git] / src / buildroot-2013.05 / custom / filesystem / opt / reboot_daemon.sh
1 #!/bin/sh
2         
3 mknod /var/www/data/reboot p
4 chmod 644 /var/www/data/reboot
5
6 while (true)
7 do
8         echo "Rebooting..." > /var/www/data/reboot
9         reboot
10 done