add wrt54g v2 info
[openwrt.git] / target / default / target_skeleton / bin / login
index 7520824..bf06359 100755 (executable)
@@ -1,2 +1,11 @@
 #!/bin/sh
-exec ash --login
+[ "$FAILSAFE" = "true" ] && exec /bin/ash --login
+
+[ -f /etc/sysconf ] && . /etc/sysconf
+
+if [ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ]; then
+       echo "Login failed."
+       exit 0
+fi
+
+exec /bin/ash --login
This page took 0.019996 seconds and 4 git commands to generate.