Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Neil Blakey-Milner
On Sat 2000-09-09 (11:25), Matthew Thyer wrote: > Don Lewis wrote: > > > > On Sep 9, 12:05am, Matthew Thyer wrote: > > } Subject: Re: /usr/local/etc/rc.d and /etc/rc.d > > } Neil Blakey-Milner wrote: > > > > } > I'd prefer a dependency based syste

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Matthew Thyer
Don Lewis wrote: > > On Sep 9, 12:05am, Matthew Thyer wrote: > } Subject: Re: /usr/local/etc/rc.d and /etc/rc.d > } Neil Blakey-Milner wrote: > > } > I'd prefer a dependency based system. (cf. Eivind Eklund's newrc, at > } > http://people.FreeBSD.org/~ei

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Jacques A. Vidrine
On Fri, Sep 08, 2000 at 04:47:15PM +0200, Neil Blakey-Milner wrote: > Note the excessive use of "perl -i -pe 's/foo/bar/'" for in-place > substitution. I've asked on at least two occasions for a simple, > easy-to-use, thing to do it without doing a two-liner that copies to > another file, and then

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Neil Blakey-Milner
On Fri 2000-09-08 (11:12), Don Lewis wrote: > On Sep 9, 12:05am, Matthew Thyer wrote: > } Subject: Re: /usr/local/etc/rc.d and /etc/rc.d > } Neil Blakey-Milner wrote: > > } > I'd prefer a dependency based system. (cf. Eivind Eklund's newrc, at > } >

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Don Lewis
On Sep 9, 12:05am, Matthew Thyer wrote: } Subject: Re: /usr/local/etc/rc.d and /etc/rc.d } Neil Blakey-Milner wrote: } > I'd prefer a dependency based system. (cf. Eivind Eklund's newrc, at } > http://people.FreeBSD.org/~eivind/newrc.tar.gz) How does this compare with what Ne

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Matthew Thyer
Neil Blakey-Milner wrote: > > On Sat 2000-09-09 (00:05), Matthew Thyer wrote: > > The point is that people are worried about scripts that aren't aware > > of the "start" and "stop" argument trying to start apps again at > > shutdown time. With my scheme, the script wont be executed at shutdown >

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Neil Blakey-Milner
On Sat 2000-09-09 (00:05), Matthew Thyer wrote: > > > Stop scripts will be a symbolic link to their startup script > > > counterpart (and would simply not be executed if the K* file doesn't > > > exist). Symbolic links make it clear they are the same script. > > > > I don't see the point. > > T

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Matthew Thyer
Neil Blakey-Milner wrote: > > On Fri 2000-09-08 (22:53), Matthew Thyer wrote: > > The startup and shutdown functionality would be in the same script > > and the scripts should be named starting with a capital 'S' for > > startup and a capital 'K' for shutdown (I'm also keen on the HPUX > > startm

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Matthew Thyer
Replying to my own message. In summary, the main things the scheme I describe gives us are: - control over startup/shutdown order with the numbers - accomodates older scripts (by just not having the K script linked to the S, script things wont be started again at shutdown time). - enou

Re: /usr/local/etc/rc.d and /etc/rc.d

2000-09-08 Thread Neil Blakey-Milner
On Fri 2000-09-08 (22:53), Matthew Thyer wrote: > I would like to see startup and shutdown scripts exist in a single > directory ("/usr/local/etc/rc.d/" for ports and eventually > "/etc/rc.d" when the system migrates to the same scheme). I don't think we should move away from the 'base' system an