bsd_style_init_under_debian

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Fri, 27 Oct 2000 15:07:42 -0700
From: Brian Bilbrey <bilbrey@orbdesigns.com>
To: Joey Hess <joey@kitenet.net>, J C Lawrence <claw@kanga.nu>,
Subject: Re: [svlug] Local init script under Debian?

On Fri, Oct 27, 2000 at 02:24:17PM -0700, Joey Hess wrote:
> J C Lawrence wrote:
> > Is there a tacitly assumed/standard place for localised init scripts
> > under Debian?  I'm thinking of something akin to rc.local under the
> > BSDs.
> 
> /etc/init.d/ ; use update-rc.d to set up the symlinks
> 

A moment ago I replied (accidentally privately) to JC saying that I
had seen recommended (and used myself) /etc/rc.local ...

Is this deprecated?

===

From: kmself@ix.netcom.com
Date: Fri, 27 Oct 2000 15:49:41 -0700
To: svlug@svlug.org
Subject: Re: [svlug] Local init script under Debian?


--8X7/QrJGcKSMr1RN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Fri, Oct 27, 2000 at 01:46:45PM -0700, J C Lawrence (claw@kanga.nu) wrot=
e:
>=20
> Is there a tacitly assumed/standard place for localised init scripts
> under Debian?  I'm thinking of something akin to rc.local under the
> BSDs.

There's bootmisc.sh, where you can stash stuff.

According to Debian Policy, the /etc/init.d scripts must conform to
package names, and, per 2.3.1:=20

    Every package must have a name that's unique within the Debian
    archive. =20
   =20
    Package names must consist only of lower case letters, digits (0-9),
    plus (+) or minus (-) signs, and periods.

=2E..seems you could create localized init.d scripts with uppercase
characters and/or underscores (_), neither of which are allowed in valid
Debian packages, but which don't conflict with shell interpretation or
quoting.  Say "LOC_initscript", for example.

===



Date: Fri, 27 Oct 2000 16:13:04 -0700
From: Brian Bilbrey <bilbrey@orbdesigns.com>
To: svlug@svlug.org
Subject: Re: [svlug] Local init script under Debian?

On Fri, Oct 27, 2000 at 03:07:42PM -0700, Brian Bilbrey wrote:
> A moment ago I replied (accidentally privately) to JC saying that I
> had seen recommended (and used myself) /etc/rc.local ...
> 
> Is this deprecated?

Replying to myself <g> I mean /etc/rc.boot 

So my actual question is, "Is /etc/rc.boot deprecated?" I've seen
both the rc.boot and the init.d / update-rc.d methods recommended...

Thanks for your forbearance.

*sigh* been a long week.

===

To: Brian Bilbrey <bilbrey@orbdesigns.com>
Cc: svlug@svlug.org
Subject: Re: [svlug] Local init script under Debian?

Brian Bilbrey wrote:
> Replying to myself <g> I mean /etc/rc.boot 
> 
> So my actual question is, "Is /etc/rc.boot deprecated?" I've seen
> both the rc.boot and the init.d / update-rc.d methods recommended...

/etc/rc.boot has effecitvely moved to /etc/rcS.d/

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu