From a39ac242cc3ec0c2d39342754d86ec97e9e4fb32 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 16 May 2016 05:32:45 +0200 Subject: [PATCH] base-files: fix some failsafe issues * if the shell was closed booting continued Signed-off-by: John Crispin --- package/base-files/files/lib/preinit/99_10_failsafe_login | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2