[OT]Re: Manually starting RCng scripts disabled in rc.conf

Paul Murphy paul.murphy at cogeco.ca
Mon May 17 20:13:21 PDT 2004


On Mon, 17 May 2004 12:30:32 -0600
"Chad Leigh -- Shire.Net LLC" <chad at shire.net> wrote:

> 
> On May 17, 2004, at 11:53 AM, Freddie Cash wrote:
> 
> > RCng scripts require an entry in /etc/rc.conf along the lines of
> > <appname>_enable="YES" otherwise the script will fail to do
> > anything.
> >
> 
> As an aside, you may want to use /etc/rc.conf.local instead.
> 
> on a related note:
> 
> One problem is that it appears that /usr/local/etc/rc.d is NOT a 
> full-citizen in the rcNG system.  You must have a .sh on the end,
> which is not true of things in /etc/rc.d  . I do not know if this
> means that /usr/local/etc/rc.d scripts run inside the main process as
> a .sh script does from /etc/rc.d or if it runs as a sub-process.  In
> /etc/rc.d, ones without .sh run as sub-processes of the main startup
> script, while ones ending with .sh run in the main process...
> 
> Chad
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 

 Slightly off topic, but is there any documentation for RCng? The
'examples' in [/usr/local]/etc/rc.d are not very self-explanatory.

-- 
Cogeco ergo sum


-------------- 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-questions/attachments/20040517/5053ed87/attachment.bin


More information about the freebsd-questions mailing list