From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:12:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7034016A492 for ; Tue, 20 Jun 2006 16:12:18 +0000 (UTC) (envelope-from webmaster@hirsch.it) Received: from server1.hirsch.it (server1.hirsch.it [213.239.214.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AE243D45 for ; Tue, 20 Jun 2006 16:12:17 +0000 (GMT) (envelope-from webmaster@hirsch.it) Received: from hsi-kbw-085-216-025-126.hsi.kabelbw.de ([85.216.25.126] helo=[192.168.101.121]) by server1.hirsch.it with esmtpa (Exim 4.50) id 1Fsipn-0004Gi-Rp for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 18:12:15 +0200 Message-ID: <44981E5B.8090708@hirsch.it> Date: Tue, 20 Jun 2006 18:12:11 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "server1.hirsch.it", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello everybody, Before FreeBSD 6.1, I was able to write a rc script which modifies the rc.conf file. All rc scripts exectuted after this first one would use the new rc.conf then. To make this work, I put the script in /etc/rc.d/ and "tagged" it with "BEFORE: rcconf". [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:12:18 -0000 Hello everybody, Before FreeBSD 6.1, I was able to write a rc script which modifies the rc.conf file. All rc scripts exectuted after this first one would use the new rc.conf then. To make this work, I put the script in /etc/rc.d/ and "tagged" it with "BEFORE: rcconf". Unfortunately, rcconf has been removed in FreeBSD 6.1 (or -STABLE?). I have tried many different ways, like "BEFORE:NETWORKING", and others. But none seems to work. I even overwrote "rc.diskless", but still no luck. What is the correct way for 6-STABLE to achieve what I want to do? (i.e. write the rc.conf from a rc script) Thanks in advance, M.