r1881 - in trunk/vendors/Nintendo/common

stsp at dslinux.in-berlin.de stsp at dslinux.in-berlin.de
Fri Sep 14 00:07:17 CEST 2007


Author: stsp
Date: 2007-09-14 00:07:12 +0200 (Fri, 14 Sep 2007)
New Revision: 1881

Log:
Remove standalone telnetd support from rc scripts.
We now run telnetd through inetd,


Modified: trunk/vendors/Nintendo/common/rc.common
===================================================================
--- trunk/vendors/Nintendo/common/rc.common	2007-09-13 22:03:27 UTC (rev 1880)
+++ trunk/vendors/Nintendo/common/rc.common	2007-09-13 22:07:12 UTC (rev 1881)
@@ -42,17 +42,7 @@
 	__network_up="NO"
 fi
 
-# start telnetd if configured
-if [ "$start_telnetd" = "YES" ]
-then
-	if [ "$__network_up" = "YES" ]
-	then
-		/etc/rc.d/telnetd start
-	else
-		echo "Not starting telnetd: network is down"
-	fi
-fi
-
+# start inetd if configured
 if [ "$start_inetd" = "YES" ]
 then
 	if [ "$__network_up" = "YES" ]

Deleted: trunk/vendors/Nintendo/common/rc.d/telnetd

Modified: trunk/vendors/Nintendo/common/rc.defaults
===================================================================
--- trunk/vendors/Nintendo/common/rc.defaults	2007-09-13 22:03:27 UTC (rev 1880)
+++ trunk/vendors/Nintendo/common/rc.defaults	2007-09-13 22:07:12 UTC (rev 1881)
@@ -107,17 +107,6 @@
 dns1=""
 dns2=""
 
-# If you want to start telnetd on boot, so you can login into
-# your DS from your PC via telnet, set start_telnetd to "YES".
-# Note that you should only start the telnet server in a
-# trusted environment. Do not enable it if you are in a
-# public network, because anyone could easily connect to
-# your DSLinux installation (the default root password
-# is widely known). Neither should you configure your router
-# to put the DS into DMZ, because this makes your DS accessible
-# 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"




More information about the dslinux-commit mailing list