mirror of https://github.com/hak5/openwrt-owl.git
don't exit from failsafe mode after the console shell quits (some devices don't have /dev/console)
SVN-Revision: 6020owl
parent
36f961d406
commit
040e093439
|
@ -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