Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 41803268450265bc905623b0cb84b9fb > files > 2

numlock-2.0-7mdk.ppc.rpm

# 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