blob: b3a85fdf3c6bf22eaff70c7eff055fe767db8f1a (
plain)
1
2
3
4
5
6
7
8
9
|
# 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
|