Index: vendors/Nintendo/DLDI/config.vendor =================================================================== --- vendors/Nintendo/DLDI/config.vendor (revision 1810) +++ vendors/Nintendo/DLDI/config.vendor (working copy) @@ -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 Index: vendors/Nintendo/common/rc.d/inetd =================================================================== --- vendors/Nintendo/common/rc.d/inetd (revision 0) +++ vendors/Nintendo/common/rc.d/inetd (revision 0) @@ -0,0 +1,26 @@ +#!/bin/sh + +[ -e /etc/rc.defaults ] && . /etc/rc.defaults +[ -e /etc/rc.conf ] && . /etc/rc.conf + +DAEMON=inetd + +case "$1" in + start) + echo "Starting $DAEMON" + $DAEMON & + ;; + stop) + echo "Stopping $DAEMON" + kill -9 `pidof $DAEMON` + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "Usage: $0 " + exit 1 + ;; +esac + Property changes on: vendors/Nintendo/common/rc.d/inetd ___________________________________________________________________ Name: svn:executable + * Index: vendors/Nintendo/common/rc.defaults =================================================================== --- vendors/Nintendo/common/rc.defaults (revision 1810) +++ vendors/Nintendo/common/rc.defaults (working copy) @@ -118,6 +118,9 @@ # 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="YES" # 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" Index: vendors/Nintendo/common/rc.common =================================================================== --- vendors/Nintendo/common/rc.common (revision 1810) +++ vendors/Nintendo/common/rc.common (working copy) @@ -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