From owner-freebsd-ports@freebsd.org Mon Feb 27 20:51:21 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6773DCF0A88 for ; Mon, 27 Feb 2017 20:51:21 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C0A9CDA for ; Mon, 27 Feb 2017 20:51:20 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id v1RKqeL0036954 for ; Mon, 27 Feb 2017 12:52:46 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: References: From: "Chris H" Subject: Re: Change system configuration files with port install Date: Mon, 27 Feb 2017 12:52:46 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <9b1b8eef4950a959ebcff9b59dde1faf@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 20:51:21 -0000 On Mon, 27 Feb 2017 19:44:05 +0000 Andrew Hotlab 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