2005-02-06 02:52:16 +02:00
|
|
|
#!/bin/sh
|
2005-03-06 05:34:52 +02:00
|
|
|
[ "$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
|