nbd's makefile/menuconfig rewrite
[openwrt.git] / openwrt / target / default / target_skeleton / bin / login
1 #!/bin/sh
2 [ "$FAILSAFE" = "true" ] && exec /bin/ash --login
3
4 [ -f /etc/sysconf ] && . /etc/sysconf
5
6 if [ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ]; then
7 echo "Login failed."
8 exit 0
9 fi
10
11 exec /bin/ash --login
This page took 0.053899 seconds and 5 git commands to generate.