added inetd and some other stuffs
[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         /etc/init.d/S90thttpd restart
10         reboot
11 done