[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: get leds on after bootup. Newbie #61



On Sat, Dec 08, 2001 at 03:58:05PM +0200, Ian Balchin wrote:
> Karsten M. Self wrote:
> > Place this in in your /etc/rc.d/rc.local to activate Numlock for the
> > first six terminals:
> > 
> >     echo "Activating Numlock ..."
> >     for i in 1 2 3 4 5 6; do
> >   /usr/bin/setleds +num < /dev/tty${i} > /dev/null
> >     done
> 
> Karsten,
> 
> Thanks, I have written this into /etc/rc.local which I created as there 
> was not a file of this name.
> 
> However, it has made no change and I did not see the echo message so the 
> file is maybe not being read.

Debian doesn't use /etc/rc.local or anything like that. I'd recommend
using a file in /etc/init.d, say /etc/init.d/numlock-off, and then using
'update-rc.d numlock-off start 99 S .' to have it run when you boot.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: