On Sat, May 13, 2000 at 07:49:37PM -0400, Daniel Barclay wrote:
>
> > From: kmself@ix.netcom.com
>
>
> > Reasonable rational. Though one preference of mine has been to prepend
> > a '_' (eg: _S99foo _K99foo). Makes clear what's been changed. More
> > recently, I modify through update-rc.d.
> >
>
> Does that work? (Doesn't that break if the control script uses glob
> pattern like "[SK][0-][0-9]*"?)
First: what control scripts are you thinking of? /etc/init.d/rc is
responsible for runlevel initialization scripts. The glob pattern is:
/etc/rc$runlevel.d/K[0-9][0-9]*
/etc/rc$runlevel.d/S*
...which appears safe.
Second: globbing starts at the beginning of the filename -- this is
shell globbing, not regexp pattern matching. "*[SK][0-9]*" would match
a leading "_" (or any other string), "[SK][0-9]*" would not.
--
Karsten M. Self <kmself@ix.netcom.com> http:/www.netcom.com/~kmself
What part of "Gestalt" don't you understand?
http://gestalt-system.sourceforge.net/
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
Attachment:
pgp4vafEp2Lmw.pgp
Description: PGP signature