Allow use of the offline_root option
[openwrt.git] / 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.042742 seconds and 5 git commands to generate.