From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 18:29:53 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 5693616A436 for ; Fri, 16 Dec 2005 18:29:53 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9623343D82 for ; Fri, 16 Dec 2005 18:29:47 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.16.2.1] (unknown [172.16.2.1]) by strange.daemonsecurity.com (Postfix) with ESMTP id 333E22E041; Fri, 16 Dec 2005 19:29:40 +0100 (CET) Message-ID: <43A30792.1040208@locolomo.org> Date: Fri, 16 Dec 2005 19:29:38 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050909) 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: Fri, 16 Dec 2005 18:29:54 -0000 Josh Endries wrote: > 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... could you post your install.cfg? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2