Only set numlock if on tty0-tty9

This commit is contained in:
David Thurstenson 2016-01-21 16:12:31 -06:00
parent 6191f4ed82
commit 1c36e426ff
1 changed files with 3 additions and 1 deletions

View File

@ -4,4 +4,6 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc
setleds -D +num
case $(tty) in /dev/tty[0-9]*)
setleds -D +num ;;
esac