From: John Crispin Date: Mon, 16 May 2016 03:32:45 +0000 (+0200) Subject: base-files: fix some failsafe issues X-Git-Tag: v17.01.0-rc1~2684 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a39ac242cc3ec0c2d39342754d86ec97e9e4fb32;p=oweals%2Fopenwrt.git base-files: fix some failsafe issues * if the shell was closed booting continued Signed-off-by: John Crispin --- 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