sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
[SM-Sorcery]init.d scripts: runlevel installation control?
- From: Michael Taylor <tcm AT adelphia.net>
- To: sm-sorcery AT lists.ibiblio.org
- Subject: [SM-Sorcery]init.d scripts: runlevel installation control?
- Date: Wed, 28 Aug 2002 19:06:08 -0400
>Yeah, I am the one tasked with writting the things up. Here is what I
ALL of them?
>ahve so far, I figure the spell will be out mid september, maybe. Thanks
>for your work!
>
>These work on my system, your mileage may vary, etc...
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:
root@matic ~/ ># cast xinetd
*snip*
Installing xinetd...
*snip*
Do you want to add the script xinetd.sh to a runlevel? y
You are currently in runlevel 3.
Which runlevel to add to? [1-5,7] 3
Runlevel 3:
START 30 networking.sh
START 31 mountnfs.sh
START 40 noip.sh
START 50 samba.sh
Start or kill xinetd.sh? s
Order number: 35
Are you sure? y
/etc/rc3.d/S35xinetd.sh -> ../init.d/xinetd.sh ** CREATED **
You should add entries to runlevels 0 (halt) and 6 (reboot) to stop
xinetd.sh gracefully. Do this now? y
Runlevel 0:
KILL 50 samba.sh
KILL 60 noip.sh
KILL 80 signals.sh
KILL 90 mount.sh
START 99 halt.sh
...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?
-=-=-=-=-=-=-=-=-=-
Michael Taylor
tcm AT adelphia.net
ICQ: 1938799
-=-=-=-=-=-=-=-=-=-
-
[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.