From: Chris King <chris@csking.demon.co.uk>
Subject: Re: Start processes after reboot
Date: 1999/01/10 [thread overview]
Message-ID: <EiTxKAAaaIm2EwSy@csking.demon.co.uk> (raw)
In-Reply-To: 775e7p$120e@ds2.acs.ucalgary.ca
In article <775e7p$120e@ds2.acs.ucalgary.ca>, Serguei Patchkovskii
<patchkov@acs1.acs.ucalgary.ca> writes
>Scripts in /sbin/rc?.d/ starting with letter 'S' are for entering
>this run level. Scripts starting with 'K' are for leaving it, so
>that if putting 'K' scripts in /sbin/rc2.d with execute them at
>the system shutdown rather then at the start up, and with the wrong
>argument ('stop' instead of 'start') to boot.
>
>Probably not that you wanted, yeah?
Look at them more closely... The 'S' and 'K' scripts are symlinked to
files in /sbin/init.d. If the sym-linked filename being with an 'S' at a
particular run-level, the script is executed with a 'start' parameter,
and if if begins with a 'K', the same script is executed with the 'stop'
parameter.
Chris
--
Chris King
chris@csking.demon.co.uk
http://www.csking.demon.co.uk
next prev parent reply other threads:[~1999-01-10 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-07 5:00 Start processes after reboot Marc Ortega
1999-01-08 5:00 ` robis
1999-01-08 5:00 ` Serguei Patchkovskii
1999-01-10 5:00 ` Chris King [this message]
1999-01-12 5:00 ` Christian Krackowizer
1999-01-08 5:00 ` Rolf Hauck
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox