On Mon, Aug 28, 2000 at 07:56:56PM -0400, Mark Simos wrote:
> is there any way to make numlock on at boot every time?

You can set mumlock to on with the "setleds" command, see man setleds for 
more information.

The next script will turn numlock on for the first six consoles.

#!/bin/sh
INITTY=/dev/tty[1-6]
for tty in $INITTY; do
setleds -D +num < $tty
done

When you save it as /etc/rc2.d/S20setleds numlock will be set at the system
startup.

regards,

-- 
Staf Wagemakers

email      : [EMAIL PROTECTED]
homepage   : http://www.digibel.org/~staf

Reply via email to