From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 17:22:47 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 35EE916A41F for ; Fri, 16 Dec 2005 17:22:47 +0000 (GMT) (envelope-from josh@endries.org) Received: from www.endries.org (www.endries.org [216.230.164.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C58FC43D53 for ; Fri, 16 Dec 2005 17:22:45 +0000 (GMT) (envelope-from josh@endries.org) Received: from localhost (localhost [127.0.0.1]) by www.endries.org (Postfix) with ESMTP id A59C0F7A7C for ; Fri, 16 Dec 2005 12:22:43 -0500 (EST) Received: from www.endries.org ([127.0.0.1]) by localhost (www.endries.org [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 18087-01 for ; Fri, 16 Dec 2005 12:22:35 -0500 (EST) Received: from [192.168.0.166] (host-64-246-146-151.ubr0.alb1.inoc.net [64.246.146.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.endries.org (Postfix) with ESMTP id 485F9F7A73 for ; Fri, 16 Dec 2005 12:22:35 -0500 (EST) Message-ID: <43A2F7CE.2010603@endries.org> Date: Fri, 16 Dec 2005 12:22:22 -0500 From: Josh Endries User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050405) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at endries.org Subject: 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 17:22:47 -0000 -----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-----