From de342e69b3a69f09cc0e1474b5d588f0cf6d28b3 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Fri, 3 Jan 2014 04:56:19 +1100 Subject: [PATCH] added inetd and some other stuffs --- .../filesystem/etc/init.d/S01custom_pre_startup | 8 +++++++- .../custom/filesystem/etc/init.d/S99final_sequence | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) 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 -- 1.7.0.4