Change system configuration files with port install

Chris H bsd-lists at bsdforge.com
Mon Feb 27 20:51:21 UTC 2017


On Mon, 27 Feb 2017 19:44:05 +0000 Andrew Hotlab <andrew.hotlab at hotmail.com>
wrote

> Hi to all, I'm working to build a simple port which, after copying a couple
> of scripts under ${PREFIX}, leaves to the user the task to set a few
> variables in /boot/loader.conf and /etc/rc.conf. 
>
> 
> I was wondering if there is a method and (first and foremost) if it's a sane
> idea, to make the port apply changes to these system configuration files.
> 
> 
> At this time, I output with pkg-message the instructions to change these
> files. 
>
> 
> Thanks.
> 
> 
> Andrew
Aside from possibly adding filename.sample(s) with example entries.
You've already made the right choice. :-)

--Chris




More information about the freebsd-ports mailing list