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

Re: rc.d question about S and K



> I was wondering if someone could tell me the
> difference between files starting with S and files
> starting with K in the /etc/rcx.d directories?

Scripts with an S are started when entering run-level x.  Those with a K
are killed upon entering run-level x.  (Starting/killing is handled by
sending either start or stop as the argument to the script.)

For example, most systems default to run-level 2, so at boot time all
scripts in /etc/rc2.d that start with 'S' are executed in lexographical
order, so S001startmefirst gets executed before S999startmelast.

--
Evan Day <evan.day@home.com>
GPG:1024D/237C1C84 FP:1615 E312 A6D1 542B C4A6 38B5 69B1 2844 237C 1C84
"My bologna has first name, it's H-O-M-E-R..."



Reply to: