[Linux-disciples] Where to put startup instructions
Stephen R Laniel
steve at laniels.org
Sun May 8 11:33:41 EDT 2005
On Sun, May 08, 2005 at 11:25:59AM -0400, Adam Rosi-Kessel wrote:
> So my guess would be put it in /etc/rcS.d, but I don't know if that is
> "canonical."
Just to reclaim a small bit of my Debian Manhood, I was
aware of the /etc/init.d/-and-symlinks bit. But I think it's
a little tricky, because I need to know when /proc is going
to come up; only after it's up can I run the command I'm
looking to run.
So I guess my question was: is there any good general method
for figuring out which of the /etc/rcN.d directories a given
command should go in, or do we have to figure it out in an
ad-hoc way?
I should be able to say, for instance, that your (Adam's)
ssh-login-blocker script can only go in after sshd has
started. I specify enough of these constraints ("only go
in after daemon D_1," "only go in before daemon D_2," etc.),
and Unix places the daemon in a position that's consistent
with the constraints I've given (or tells me that my
constraints are impossible to satisfy).
Anyway, that's the dream. I'll look around for a specific
place to put this /proc instruction.
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050508/9fa4eea8/attachment.pgp
More information about the Linux-disciples
mailing list