From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3840f1d6fd9654ba X-Google-Attributes: gidfee84,public From: Chris King Subject: Re: Start processes after reboot Date: 1999/01/10 Message-ID: #1/1 X-Deja-AN: 430853741 X-NNTP-Posting-Host: csking.demon.co.uk:194.222.53.110 References: <3694A8FE.3CEE3EB7@seneca.uab.es> <3695C421.BAFC0361@rasa.vtu.lt> <775e7p$120e@ds2.acs.ucalgary.ca> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 915970919 nnrp-11:10550 NO-IDENT csking.demon.co.uk:194.222.53.110 Organization: Brain For Hire MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1 In article <775e7p$120e@ds2.acs.ucalgary.ca>, Serguei Patchkovskii 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