summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-07 17:38:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-07 17:38:29 +0000
commit040e09343961c2b44d617bf6c5094cb5b902624f (patch)
tree484a0596f242bbf771b241f4235aef89c11767d7 /target
parent36f961d406f77d8cadaf4817fc9f45a710fab0b8 (diff)
downloadmtk-20170518-040e09343961c2b44d617bf6c5094cb5b902624f.zip
mtk-20170518-040e09343961c2b44d617bf6c5094cb5b902624f.tar.gz
mtk-20170518-040e09343961c2b44d617bf6c5094cb5b902624f.tar.bz2
don't exit from failsafe mode after the console shell quits (some devices don't have /dev/console)
SVN-Revision: 6020
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/preinit1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/preinit b/target/linux/brcm-2.4/base-files/etc/preinit
index 30aed35..1c4e59f 100755
--- a/target/linux/brcm-2.4/base-files/etc/preinit
+++ b/target/linux/brcm-2.4/base-files/etc/preinit
@@ -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