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

Dariusz Stojek dast at cnos-fap.net
Tue Jun 14 15:18:08 GMT 2005


You have to in rc.conf variable to run application as was for ssh and
others in this way:
if you want to run samba and dhcpd you have to put into rc.conf this:

samba_enable="YES"
dhcpd_enable="YES"




Il giorno mar, 14/06/2005 alle 11.02 -0400, Michael W. Lucas ha scritto:

> I'm certain this is documented somewhere, but danged if I can find it.
> 
> I have a whole variety of custom scripts in /usr/local/etc/rc.d.  For
> years now, simply giving them a name ending in .sh and making them
> executable has been sufficient to make them start on boot.
> 
> On 5.x, it's not.  And now, having upgraded to 4.11-s on some older
> boxes and running portupgrade -a, it's not.
> 
> Obviously these scripts need something else.  There's no fancy rcNG
> infrastructure in them; is rcNG a requirement for startup scripts now?
> Any pointers on where I can find the right documentation?
> 
> Thanks,
> 
> ==ml
> 

Darek

________________________________________________________________________



  An rud a líonas an
tsúil líonann sé an croí
- What fills the eye
fills the heart


More information about the freebsd-stable mailing list