moved reboot and restart stuff to shell script daemons
[wyse_ntpd.git] / src / buildroot-2013.05 / custom / filesystem / opt / restart_ssh_daemon.sh
diff --git a/src/buildroot-2013.05/custom/filesystem/opt/restart_ssh_daemon.sh b/src/buildroot-2013.05/custom/filesystem/opt/restart_ssh_daemon.sh
new file mode 100755 (executable)
index 0000000..93f677c
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+       
+mknod /var/www/data/restart_ssh p
+chmod 644 /var/www/data/restart_ssh
+
+while (true)
+do
+       echo "SSH Restart" > /var/www/data/restart_ssh 2>&1
+       /etc/init.d/S50dropbear restart
+
+done