Re: easy numlock question
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 : staf@digibel.org
homepage : http://www.digibel.org/~staf
Reply to: