1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

base-files: fix some failsafe issues

* if the shell was closed booting continued

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2016-05-16 05:32:45 +02:00
parent 5dc80cbcff
commit a39ac242cc

@ -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