summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-05-16 05:32:45 +0200
committerJohn Crispin <john@phrozen.org>2016-05-23 11:03:25 +0200
commita39ac242cc3ec0c2d39342754d86ec97e9e4fb32 (patch)
tree865eef1bced5bad9a017c40c8d786bad7701ef64 /package/base-files
parent5dc80cbcff3e645bff0cdb9424b9b466da909d85 (diff)
downloadmtk-20170518-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.zip
mtk-20170518-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.tar.gz
mtk-20170518-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.tar.bz2
base-files: fix some failsafe issues
* if the shell was closed booting continued Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/lib/preinit/99_10_failsafe_login1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/preinit/99_10_failsafe_login b/package/base-files/files/lib/preinit/99_10_failsafe_login
index b12e317..3147cdc 100644
--- a/package/base-files/files/lib/preinit/99_10_failsafe_login
+++ b/package/base-files/files/lib/preinit/99_10_failsafe_login
@@ -11,6 +11,7 @@ failsafe_shell() {
lock /tmp/.failsafe
ash --login
echo "Please reboot system when done with failsafe network logins"
+ while true; do sleep 1; done
}
boot_hook_add failsafe failsafe_netlogin