revert, not ready yet
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 6 Jul 2005 10:35:28 +0000 (10:35 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 6 Jul 2005 10:35:28 +0000 (10:35 +0000)
SVN-Revision: 1357

openwrt/target/default/target_skeleton/etc/init.d/rcS

index 08bd9ed717362ef0a3a39efcb17eb154779025fb..e6daddc5935c9fd5b6920680d2b613d81a400062 100755 (executable)
@@ -1,13 +1,7 @@
 #!/bin/sh
 syslogd -C 16
 klogd
-if [ "$FAILSAFE" = "true" ];then 
-       insmod $(head -1 /etc/modules)
-       ifconfig lo 127.0.0.1 up
-       ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
-       telnetd -l /bin/login
-       exit
-fi
+${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
 
 for i in /etc/init.d/S*; do
   $i start 2>&1