From: John Crispin Date: Mon, 16 May 2016 03:32:45 +0000 (+0200) Subject: base-files: fix some failsafe issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a39ac242cc3ec0c2d39342754d86ec97e9e4fb32;p=openwrt%2Fstaging%2Fluka.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