LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to enable Numlock key when booting my pc? (https://www.linuxquestions.org/questions/linux-general-1/how-to-enable-numlock-key-when-booting-my-pc-13352/)

whepin 02-02-2002 02:10 AM

How to enable Numlock key when booting my pc?
 
Thanks.

R4z0r 02-02-2002 03:01 AM

The setting should be in your BIOS.

-R4z0r

Ahmad 02-02-2002 04:07 AM

Didn't try it though...
 
To enable NumLock on by default, add these lines to
/etc/rc.d/rc.sysinit:



for tty in /dev/tty[1-9]*; do
setleds -D +num < $tty
done

acid_kewpie 02-02-2002 06:32 AM

you just nicked that out of the numlock script ehh?

you should have a script in /etc/init.d/numlock which can be set to run on start as a full service. well, aactually i've only got it on my MD system, not on my RH, the full cript should be totally generic tho


All times are GMT -5. The time now is 12:25 AM.