image / basefiles: make console password configurable
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		
							
								
								
									
										5
									
								
								package/base-files/files/usr/libexec/login.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								package/base-files/files/usr/libexec/login.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| [ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login | ||||
|  | ||||
| exec /bin/login | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin