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

Re: easy numlock question



On Wed, Aug 30, 2000 at 09:29:43PM -0400, Mark Simos wrote:

> well, leaving it in the rc2.d directory as per the initial suggestion, 
> it ain't running
> at boot time . i am a little new to *nix, so bear with me :)
> 
> the file is as follows:
> -rwxr-xr-x    1 root    root         82 Aug 29 18:27 s20setleds

It has to be S20setleds. 
FYI: all scripts with a "S" will be started with "start" as an argument when
your system enters a runlevel.

all scripts that start with a "K" are executed with "stop" when your system
goes to a lower runlevel.

> 
> i did notice that the rest of the entries in the dir are links 
> (symbolic i guess)
> 

The correct way is save it as /etc/init.d/setleds a run 
"update-rc.d setleds start 20 2 ." like some people corrected me.

regards,

-- 
Staf Wagemakers

email      : staf@digibel.org
homepage   : http://www.digibel.org/~staf



Reply to: