From 70a4439b4c575394cf5a91c38715cd75013cbeed Mon Sep 17 00:00:00 2001 From: Paul J R Date: Fri, 3 Jan 2014 04:37:37 +1100 Subject: [PATCH] added inetd and some other stuffs --- .../filesystem/etc/init.d/S01custom_pre_startup | 3 +++ .../custom/filesystem/etc/init.d/S99final_sequence | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 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 e5cd346..55ed60d 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 @@ -123,3 +123,6 @@ if [ "x$SYSLOG_HOST" != "x" ] then syslogd -R $SYSLOG_HOST fi + +# lastly, work around for thttpd problems +echo 'logfile=/dev/null' >> /var/www/thttpd_config 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 c37352b..cc1be80 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 @@ -37,13 +37,17 @@ fi if [ -f /fs/config/inetd.conf ] then /usr/sbin/inetd /fs/config/inetd.conf - /usr/sbin/inetd else # this is a little silly, i should really be a little more useful with this cat > /fs/config/inetd.conf << EOF -10011 stream tcp nowait root sh -10010 stream tcp nowait root reboot +20010 stream tcp nowait root reboot +20011 stream tcp nowait root sh +20012 stream tcp nowait root ntpq ntpq -c lpe -n +20013 stream tcp nowait root ps ps -ef +20014 stream tcp nowait root free EOF - /usr/sbin/inetd + /usr/sbin/inetd /fs/config/inetd.conf fi + + -- 1.7.0.4