X-Git-Url: http://git.pjr.cc/?p=wyse_ntpd.git;a=blobdiff_plain;f=src%2Fbuildroot-2013.05%2Fcustom%2Ffilesystem%2Fetc%2Finit.d%2FS99final_sequence;h=d9e113e35b2f012cb5f4d0f9ec37c328e6e1b884;hp=0b7e2a679967166b5d7a542e1c80813ed5e50d65;hb=863a7a208e30bbb585bf81283fff64fb9bcddcce;hpb=ae7b8c3e94cfaf2532d796ac5aacaff69c1fe379 diff --git a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence index 0b7e2a6..d9e113e 100755 --- a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence +++ b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence @@ -28,9 +28,15 @@ then chmod 644 /var/www/data/reboot (echo "Rebooting..." > /var/www/data/reboot; reboot)& + mknod /var/www/data/restart_ssh p + chmod 644 /var/www/data/restart_ssh + (echo "SSH Restart" > /var/www/data/restart_ssh; /etc/init.d/S50dropbear restart)& + cldate=`date '+%d.%m.%Y'` touch /var/www/data/ntp.log.$cldate chmod 644 /var/www/data/ntp.log.$cldate (sleep 30; while(true); do date '+%s' >> /var/www/data/ntp.log.$cldate; ntpq -c lpe -n |grep "127.127.20" >> /var/www/data/ntp.log.$cldate; sleep 30; done) & fi + +mkdir /var/www/data/stats