Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: kra1@technodat.co.at (Christian Krackowizer)
Subject: Re: rc3, init.d and starting things at bootime
Date: 1999/05/06	[thread overview]
Message-ID: <925983413.245242@hpwp3.technodat.co.at> (raw)
In-Reply-To: Pine.OSF.3.91.990506120506.16334A-100000@civilaa.civil

In article <Pine.OSF.3.91.990506120506.16334A-100000@civilaa.civil>, 
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                                       |
+-----------------------------------------------------------------+




  parent reply	other threads:[~1999-05-06  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-06  4:00 rc3, init.d and starting things at bootime Brandon Hutchison
1999-05-06  4:00 ` Adam Price
1999-05-06  4:00 ` Christian Krackowizer [this message]
1999-05-06  4:00   ` Adam Price
1999-05-07  4:00   ` Otis Gospodnetic
1999-05-07  4:00 ` Oisin McGuinness
1999-05-07  4:00   ` Adam Price
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