NumLock on with boot? How?
Rick Stevens
rstevens at vitalstream.com
Thu Jun 10 18:14:09 UTC 2004
Ajai Khattri wrote:
> On Thu, 10 Jun 2004, Rick Stevens wrote:
>
>
>>That's normally a BIOS setting. I don't know of a way to force it from
>>the system.
>
>
> Gentoo comes with a script to do this (/etc/init.d/numlock). Looking at
> the script I see it runs setleds. Checking on a RH9 box I see that setleds
> is included. So maybe you can craft together an init script to do
> something like:
>
> setleds -D +num < /dev/tty1
I hadn't thought of that. Good catch!
> Or for all virt consoles:
>
> for tty in $(seq 1 6)
> do
> setleds -D +num < /dev/${tty} &>/dev/null
> done
>
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list