aboutsummaryrefslogtreecommitdiffstats
path: root/numlock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'numlock.sh')
-rwxr-xr-xnumlock.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/numlock.sh b/numlock.sh
index 39781d1..b3a85fd 100755
--- a/numlock.sh
+++ b/numlock.sh
@@ -5,6 +5,5 @@
MY_TTY=`tty`
case $MY_TTY in
/dev/tty[0-9]*) [ -f /etc/sysconfig/NumLock ] && setleds -D +num < $MY_TTY;;
- /dev/pts/[0-9]*) [ "XX$DISPLAY" != "XX" ] && [ -x /usr/X11R6/bin/enable_X11_numlock ] && /usr/X11R6/bin/enable_X11_numlock
esac
unset MY_TTY \ No newline at end of file