From owner-freebsd-questions@FreeBSD.ORG Sat Dec 17 09:50:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCA7116A41F for ; Sat, 17 Dec 2005 09:50:50 +0000 (GMT) (envelope-from legalois@acm.org) Received: from smtp6.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6276B43D46 for ; Sat, 17 Dec 2005 09:50:50 +0000 (GMT) (envelope-from legalois@acm.org) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0608.wanadoo.fr (SMTP Server) with ESMTP id 5AB8D1C0025A for ; Sat, 17 Dec 2005 10:50:49 +0100 (CET) Received: from [192.168.0.4] (ADijon-151-1-65-77.w83-196.abo.wanadoo.fr [83.196.23.77]) by mwinf0608.wanadoo.fr (SMTP Server) with ESMTP id E92051C00254; Sat, 17 Dec 2005 10:50:48 +0100 (CET) X-ME-UUID: 20051217095048954.E92051C00254@mwinf0608.wanadoo.fr Message-ID: <43A3DD0D.9080706@acm.org> Date: Sat, 17 Dec 2005 10:40:29 +0100 From: legalois User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051210) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Endries References: <43A2F7CE.2010603@endries.org> In-Reply-To: <43A2F7CE.2010603@endries.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Adding lines to /etc/rc.conf during sysinstall wihout being "REMOVED" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 09:50:51 -0000 Josh Endries wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Does anyone know the correct way to add lines to rc.conf without > sysinstall commenting them out and prepending "REMOVED" to them, > during an automated install.cfg routine? Currently I have a pkg I > made that adds stuff like ntp.conf and rc.conf, but all the lines in > my custom rc.conf are removed after the script finishes. > > I looked through the code for sysinstall but didn't see any way to > disable this behavior (my C isn't very good). What would be the > correct way to do this? I'm now having my pkg install a rc.d script > which cat's >> /etc/rc.conf... > > Thanks, > Josh > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (FreeBSD) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDovfOV/+PyAj2L+IRAjzcAJ4lJm+8vIP3QLy/DmuxTB0b4APp1gCfbhI1 > waoWrsCORg3CiQMVToAFEaI= > =RlT3 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Put the settings you do not want changed in /etc./rc.conf.local Settings in /etc/rc.conf.local override those in /etc/rc.conf