diff options
author | John Crispin <john@phrozen.org> | 2016-05-16 05:32:45 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-05-23 11:03:25 +0200 |
commit | a39ac242cc3ec0c2d39342754d86ec97e9e4fb32 (patch) | |
tree | 865eef1bced5bad9a017c40c8d786bad7701ef64 /package/base-files/files | |
parent | 5dc80cbcff3e645bff0cdb9424b9b466da909d85 (diff) | |
download | upstream-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/base-files/files')
-rw-r--r-- | package/base-files/files/lib/preinit/99_10_failsafe_login | 1 |
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 |