From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2680c5dbf6527531 X-Google-Attributes: gidfee84,public From: kra1@technodat.co.at (Christian Krackowizer) Subject: Re: rc3, init.d and starting things at bootime Date: 1999/05/06 Message-ID: <925983413.245242@hpwp3.technodat.co.at>#1/1 X-Deja-AN: 474671682 Cache-Post-Path: hpwp3.technodat.co.at!unknown@pc01.technodat.co.at References: Content-Type: Text/Plain; charset=US-ASCII X-Complaints-To: abuse@Austria.EU.net X-Trace: fleetstreet.Austria.EU.net 925983413 1672 193.81.3.164 (6 May 1999 09:36:53 GMT) Organization: Technodat CAD/CAM - Systeme fuer Moebel X-Cache: nntpcache 2.3.3b4 (see http://www.nntpcache.org/) Mime-Version: 1.0 NNTP-Posting-Date: 6 May 1999 09:36:53 GMT Newsgroups: comp.unix.osf.osf1 In article , hutch@civil.canterbury.ac.nz says... > >I realise this is a pretty naive request but could somebody give me an >overview of how I get to automatically start something eg a webserver or >a licence server at boottime. > >I've found this directory /sbin/init.d which seems to contain scripts >for starting things and then there is the other one /sbin/rc3.d which >seems to contain links to the previous one. The links are named in >systematic ways starting with Snn.... where nn is a number. > >Do the scripts need to be written in any special way.. > >The man pages on all this are pretty detailed and I sort of need an overview. > >System: DEC Alphatstation running 4.0B DU. > >Thanks for your help.. > Hi, forget about all this init.d, rc.2/3/n stuff. Just add an new (last) entry in /etc/inittab e.g. own:23:wait:/etc/rc.myownstuff > blah blah in this rc.myownstuff you can specify all you want to start. This technique works on all systems with an inittab, regardless where the rc.2/3/n are located - don't fiddle in system directories! regards -- +-----------------------------------------------------------------+ | Krackowizer Christian mailto:kra1@technodat.co.at | | TECHNODAT Phone: ++43-(0)662-454944-0 | | CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 | | Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ | | A-5020 Salzburg / Austria | +-----------------------------------------------------------------+