Fix "uci: Entry not found" output if "ttylogin" is not set in "etc/config/system" Signed-off-by: Florian Eckert <fe@dev.tdt.de>
		
			
				
	
	
		
			6 lines
		
	
	
		
			105 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			105 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| [ "$(uci -q get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
 | |
| 
 | |
| exec /bin/login
 |