On 2013-01-03 23:14, Oleg Moskalenko wrote:
> So, what is the general recommended policy on the network services ports in 
> regard to /etc/rc.conf file ? If I install a port that creates a service 
> "foodbank", then which choice is better:
> 
> 1) "Automatically" edit /etc/rc.conf in the port installation script to 
> include the line:
>       foodbank_enable="YES", 
> 
> or:
> 
> 2) Display a message to the user like "you must edit /etc/rc.conf to add line 
> foodbank=YES file" ?
> 
> The same question applies to the port de-installation.
> 
> Thanks !
> Oleg
> 

Hi Oleg,

the file /etc/rc.conf(.local) should be never touched by an install script.
In case you will enable the network service you have to do this explicit by 
yourself.

For the rc system it doesn't matter later if the line is present but the port 
no longer installed.

--
Regards,
olli
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to