Only set numlock if on tty0-tty9
This commit is contained in:
		
							parent
							
								
									6191f4ed82
								
							
						
					
					
						commit
						1c36e426ff
					
				@ -4,4 +4,6 @@
 | 
			
		||||
 | 
			
		||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
 | 
			
		||||
 | 
			
		||||
setleds -D +num
 | 
			
		||||
case $(tty) in /dev/tty[0-9]*)
 | 
			
		||||
	setleds -D +num ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user