# Linux-Mandrake configuration. # ReLock the NumLock key if /etc/rc.d/init.d/numlock has been runned # This is needed as login reset the tty MY_TTY=`tty` case $MY_TTY in /dev/tty[0-9]*) [ -f /etc/sysconfig/numlock ] && setleds -D +num < $MY_TTY;; esac unset MY_TTY