Skip to contentSkip to conversation

More on Startup Scripts

DISCUSSION Paul Kraus 3 participants 3 messages Sep 18, 2002

lore
Share & tools
lore

Paul Kraus

author
#0 lore raw

I understand that in the runtime folders that the SXXscript stands for startup and the KXXscript stands for kill. What do the XX stand for?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

BEGIN:VCARD
VERSION:2.1
N:Kraus;Paul
FN:Paul Kraus ([email protected])
ORG:PEL Supply Company
TITLE:Network Administrator
TEL;WORK;VOICE:(216) 267-5775
TEL;CELL;VOICE:(216) 410-5526
TEL;WORK;FAX:(216) 267-6176
ADR;WORK:;;4666 Manufacturing Road;Cleveland;Ohio;44135;United States of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:4666 Manufacturing Road=0D=0ACleveland, Ohio 44135=0D=0AUnited States of Ame= rica
ADR;HOME:;;;;;;United States
LABEL;HOME:United States
URL;WORK:http://www.pelsupply.com
EMAIL;PREF;INTERNET:[email protected]
REV:20020416T182124Z
END:VCARD

#1 lore raw
Quoted 2 lines · Paul Kraus

I understand that in the runtime folders that the SXXscript stands for startup and the KXXscript stands for kill. What do the XX stand for?

The scripts run in sort order, so their execution order is determined by the numbers in the XX locations.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Paul Kraus

Well, if for example your default runlevel is 5, then in the /etc/rc5.d directory (in Debian) (or /etc/rc.d/rc5/ in RedHat and RedHat-like systems), you may have a listing like this (this is just an example)

K12anacron  -> /etc/init.d/anacron
S02portmap  -> /etc/init.d/portmap
S11sshd     -> /etc/init.d/sshd

S43sendmail -> /etc/init.d/sendmail

...note that these are actually _not_ scripts but symbolic links to the actual scripts that reside in /etc/init.d, thus, in the above example, anacron will be killed, the portmapper started, followed by sshd and so on. The numbers XX dictate the order in which services are started/stopped.

Arthur

Quoted 10 lines · Paul Kraus

I understand that in the runtime folders that the SXXscript stands for startup and the KXXscript stands for kill. What do the XX stand for?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs