added inetd and some other stuffs
[wyse_ntpd.git] / src / buildroot-2013.05 / custom / filesystem / etc / init.d / S01custom_pre_startup
index e5cd346..32ffa16 100755 (executable)
@@ -123,3 +123,12 @@ if [ "x$SYSLOG_HOST" != "x" ]
 then
        syslogd -R $SYSLOG_HOST
 fi
+
+# lastly, work around for thttpd problems
+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