From: Paul J R Date: Thu, 2 Jan 2014 17:56:19 +0000 (+1100) Subject: added inetd and some other stuffs X-Git-Url: http://git.pjr.cc/?p=wyse_ntpd.git;a=commitdiff_plain;h=de342e69b3a69f09cc0e1474b5d588f0cf6d28b3 added inetd and some other stuffs --- diff --git a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S01custom_pre_startup b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S01custom_pre_startup index 55ed60d..32ffa16 100755 --- a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S01custom_pre_startup +++ b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S01custom_pre_startup @@ -125,4 +125,10 @@ then fi # lastly, work around for thttpd problems -echo 'logfile=/dev/null' >> /var/www/thttpd_config +mv /var/www/thttpd_config /var/www/thttpd_config.orig +cat > /var/www/thttpd_config << EOF +dir=/var/www/data +cgipat=**.cgi +pidfile=/var/run/thttpd.pid +logfile=/dev/null +EOF 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 cc1be80..2cede64 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 @@ -50,4 +50,6 @@ EOF fi - +# work around problems with thttpd startup and its stupid stats output (which spams syslog when the time jumps too much) +killall -9 thttpd_wrapper +killall -9 thttpd