don't exit from failsafe mode after the console shell quits (some devices don't have /dev/console)

SVN-Revision: 6020
This commit is contained in:
Felix Fietkau 2007-01-07 17:38:29 +00:00
parent 36f961d406
commit 040e093439

View file

@ -21,7 +21,6 @@ failsafe() {
telnetd -l /bin/login <> /dev/null 2>&1
ash --login
lock -u /tmp/.failsafe
}
export PATH=/bin:/sbin:/usr/bin:/usr/sbin