r1811 - in trunk

stsp at dslinux.in-berlin.de stsp at dslinux.in-berlin.de
Fri Jul 13 00:12:49 CEST 2007


Author: stsp
Date: 2007-07-13 00:12:43 +0200 (Fri, 13 Jul 2007)
New Revision: 1811

Log:
Enable inetd in DLDI build.

Patch by Sonny Jim:
   At the moment inetd won't do anything, but it's the first step in
   getting telnetd/ftpd working nicely, patches for which will follow
   soon (hopefully)


Copied: trunk/user/inetd (from rev 1810, tags/uclinux/uclinux_20051014/user/inetd)

Modified: trunk/vendors/Nintendo/DLDI/config.vendor
===================================================================
--- trunk/vendors/Nintendo/DLDI/config.vendor	2007-07-08 13:30:29 UTC (rev 1810)
+++ trunk/vendors/Nintendo/DLDI/config.vendor	2007-07-12 22:12:43 UTC (rev 1811)
@@ -223,7 +223,7 @@
 # CONFIG_USER_HTTPTUNNEL_CLIENT is not set
 # CONFIG_USER_HTTPTUNNEL_SERVER is not set
 # CONFIG_USER_IFATTACH_IFATTACH is not set
-# CONFIG_USER_INETD_INETD is not set
+CONFIG_USER_INETD_INETD=y
 # CONFIG_USER_IPCHAINS_IPCHAINS is not set
 # CONFIG_USER_IPFWADM_IPFWADM is not set
 # CONFIG_USER_IPMASQADM_IPMASQADM is not set

Modified: trunk/vendors/Nintendo/common/rc.common
===================================================================
--- trunk/vendors/Nintendo/common/rc.common	2007-07-08 13:30:29 UTC (rev 1810)
+++ trunk/vendors/Nintendo/common/rc.common	2007-07-12 22:12:43 UTC (rev 1811)
@@ -53,6 +53,14 @@
 	fi
 fi
 
+if [ "$start_inetd" = "YES" ]
+then
+	if [ "$__network_up" = "YES" ]
+	then
+		/etc/rc.d/inetd start
+	else
+fi
+
 # set hostname
 hostname $hostname
 

Added: trunk/vendors/Nintendo/common/rc.d/inetd


Property changes on: trunk/vendors/Nintendo/common/rc.d/inetd
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/vendors/Nintendo/common/rc.defaults
===================================================================
--- trunk/vendors/Nintendo/common/rc.defaults	2007-07-08 13:30:29 UTC (rev 1810)
+++ trunk/vendors/Nintendo/common/rc.defaults	2007-07-12 22:12:43 UTC (rev 1811)
@@ -118,6 +118,10 @@
 # to anyone on the internet!
 start_telnetd="NO"
 
+# If you want to start inetd on boot, say "YES" here
+# Don't forget to edit /etc/inetd.conf!
+start_inetd="NO"
+
 # If you want to see your DS firmware version on boot,
 # set this to "YES". By default, the firmware version is shown.
 show_firmware_version="YES"




More information about the dslinux-commit mailing list