sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
Re: [SM-Sorcery]init.d scripts: runlevel installation control?
- From: nealbirch <nealbirch AT attbi.com>
- To: Arwed von Merkatz <v.merkatz AT gmx.net>
- Cc: sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]init.d scripts: runlevel installation control?
- Date: Thu, 29 Aug 2002 19:53:38 -0400
Arwed von Merkatz wrote:
On Wed, Aug 28, 2002 at 07:06:08PM -0400, Michael Taylor wrote:
Something I think we need is a means of controlling runlevel installation
at casting time, stored in the spell's config file. I envision something
like this:
I would say it should rather not be stored in the spells config. If we
were using a system like chkconfig to control runlevels, the spell could
ask for an initial configuration at cast time and just put that in the
chkconfig lines in the script. That way it could be safely changed
without recasting the spell.
That said, i think we should definitely use chkconfig, it's easy to use
and quite powerful.
working on the spell... actually I thought I would be done by now, but difficulties arose.
...and so on. The question about adding kill links to 0 and 6 isn't
necessary with some things (e.g. filesystems that mount.sh stop will kill,
checkfs) but you get the idea. Should we do this? Anyone know of a program
that does this already?
He's got a great idea though. We should add the runlevels/priorities to the CONFIGURE, maybe.
--
"You can fool some of the people all of the time
--and those are the ones you have to concentrate on!"
GW Bush-- from the N.Y. Times
-
[SM-Sorcery]For general consumption: some of my init.d scripts,
Michael Taylor, 08/27/2002
-
Message not available
-
[SM-Sorcery]init.d scripts: runlevel installation control?,
Michael Taylor, 08/28/2002
-
Re: [SM-Sorcery]init.d scripts: runlevel installation control?,
Arwed von Merkatz, 08/28/2002
- Re: [SM-Sorcery]init.d scripts: runlevel installation control?, nealbirch, 08/29/2002
-
Re: [SM-Sorcery]init.d scripts: runlevel installation control?,
nealbirch, 08/29/2002
- Re: [SM-Sorcery]init.d scripts: runlevel installation control?, Michael Taylor, 08/30/2002
-
Re: [SM-Sorcery]init.d scripts: runlevel installation control?,
Arwed von Merkatz, 08/28/2002
-
[SM-Sorcery]init.d scripts: runlevel installation control?,
Michael Taylor, 08/28/2002
-
Message not available
Archive powered by MHonArc 2.6.24.