From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:26:19 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 95D6916A479 for ; Tue, 20 Jun 2006 16:26:19 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0204B43D4C for ; Tue, 20 Jun 2006 16:26:16 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fsj3P-0008Qu-F1 for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 17:26:15 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fsj3P-0007mN-BE for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 17:26:15 +0100 To: freebsd-stable@freebsd.org Message-Id: From: Pete French Date: Tue, 20 Jun 2006 17:26:15 +0100 Subject: Re: 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:26:19 -0000 > 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) I thought rc.conf was simply a script that set some variables. If this is the case then you don't need to overwrite it - you simply need to make your script set the appropriate variables and then drop it in as a repplacement for rc.conf - hence no need to rewrite rc.conf at all. -pcf.