# Mageia configuration. # ReLock the NumLock key if /etc/rc.d/init.d/numlock has been run. # This is needed because login resets the tty. MY_TTY=`tty` case $MY_TTY in /dev/tty[0-9]*) [ -f /var/lock/subsys/numlock ] && setleds -D +num < $MY_TTY;; esac unset MY_TTY