Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > da3a205beaa949a27c346d2d6796c3b8 > files > 2

numlock-2.1.2-6.i586.rpm

# Linux-Mandrake 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