/usr/local/etc/rc.d/*.sh not working?

Simon L. Nielsen simon at FreeBSD.org
Tue Jun 14 18:34:20 GMT 2005


On 2005.06.14 14:25:13 -0400, Michael W. Lucas wrote:
> On Tue, Jun 14, 2005 at 11:19:04AM -0700, Brooks Davis wrote:
> > It's b) and this guess is wrong because we don't do any detection of
> > rcorder compatable scripts yet.  See /etc/rc.d/localpkg for exactly how
> > the scripts in /usr/local/etc/rc.d get run.
> > 
> > My suggestion would be to write up a single rc.d script that handles
> > everything using some combination of ifconfig_<if> style variables or a
> > config file.  Then you have only one script and you'll be ready to go
> > when we move to full rcordering (hopefully in 7.0).
> 
> Thanks, a definite answer is appreciated.
> 
> I'm going to take your advice, but also dig in to find out why these
> don't start.  I intensely dislike unexplained behavior, and wonder
> what else is broken on these boxes...

Just a hint... I would suggest

	sh -x /etc/rc.d/localpkg start

or something like that to see what really goes on.

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050614/04a88086/attachment-0001.bin


More information about the freebsd-stable mailing list