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

Re: easy numlock question



> > 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.
> 
> I haven't read everything Debian yet, but wouldn't you want to save the
> above scripts as something more like /etc/init.d/setleds, then:
> 
> #chmod 0755 /etc/init.d/setleds
> #ln -s /etc/init.d/setleds /etc/rc2.d/S20setleds
> 
> This woudl keep things in what seems to be the "Debian" way.
> 


Doesn't update-rc.d more appropriate?


> Brooks
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

-- 
	
	--  Shaul Karl <shaulk@israsrv.net.il>

	Donate free food to the world's hungry: see http://www.thehungersite.com




Reply to: