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:
		@@ -11,6 +11,7 @@ failsafe_shell() {
 | 
				
			|||||||
	lock /tmp/.failsafe
 | 
						lock /tmp/.failsafe
 | 
				
			||||||
	ash --login
 | 
						ash --login
 | 
				
			||||||
	echo "Please reboot system when done with failsafe network logins"
 | 
						echo "Please reboot system when done with failsafe network logins"
 | 
				
			||||||
 | 
						while true; do sleep 1; done
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
boot_hook_add failsafe failsafe_netlogin
 | 
					boot_hook_add failsafe failsafe_netlogin
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user