Change system configuration files with port install

Andrew Hotlab andrew.hotlab at hotmail.com
Mon Feb 27 19:45:14 UTC 2017


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


More information about the freebsd-ports mailing list