don't exit from failsafe mode after the console shell quits (some devices don't have /dev/console)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6020 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
e320d3be58
commit
14b000385c
|
@ -21,7 +21,6 @@ failsafe() {
|
||||||
telnetd -l /bin/login <> /dev/null 2>&1
|
telnetd -l /bin/login <> /dev/null 2>&1
|
||||||
|
|
||||||
ash --login
|
ash --login
|
||||||
lock -u /tmp/.failsafe
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
|
|
Loading…
Reference in New Issue