added inetd and some other stuffs
[wyse_ntpd.git] / src / buildroot-2013.05 / custom / filesystem / etc / init.d / S01custom_pre_startup
index 55ed60d..32ffa16 100755 (executable)
@@ -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