aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
parent5dc80cbcff3e645bff0cdb9424b9b466da909d85 (diff)
downloadupstream-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.tar.gz
upstream-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.tar.bz2
upstream-a39ac242cc3ec0c2d39342754d86ec97e9e4fb32.zip
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')
-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 b12e31702a..3147cdc5a6 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