From owner-freebsd-stable@FreeBSD.ORG Wed Nov 15 13:32:03 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 C4C3116A412 for ; Wed, 15 Nov 2006 13:32:03 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2116A43D79 for ; Wed, 15 Nov 2006 13:32:00 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so124441uge for ; Wed, 15 Nov 2006 05:32:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ckfaa4k6R0qzIb56Ko2PbnCvXFn/Raww8hJNFhew5YNJxNi4q/QCcYjPpIED+f/iU6WdIg/C0krzSNR7QAlQ4VdUa/mUy0z1MdKRHEyp6g5CufkRdGCCgJjzXNgab3scNM4Xygz/h705mSorYpd/7/s7IM6B/YiZzG8h/KIxHwc= Received: by 10.66.232.9 with SMTP id e9mr1723211ugh.1163597519513; Wed, 15 Nov 2006 05:31:59 -0800 (PST) Received: by 10.66.224.6 with HTTP; Wed, 15 Nov 2006 05:31:59 -0800 (PST) Message-ID: Date: Wed, 15 Nov 2006 14:31:59 +0100 From: "Pietro Cerutti" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: rc.subr modification: testing and feedback are welcome! 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: Wed, 15 Nov 2006 13:32:03 -0000 Hello List, I did a patch to allow rc.conf DAEMON_enable values to be decided at startup. 1) set apache_start="ask" in rc.conf 2) at boot, you'll be prompted with "RC_ASK - Enable apache? [yes|no] " 3) the daemon is started depending on the decision 4) the decision is stored until the next boot, so that rc.shutdown can decide whether to call stop for a particular daemon or not See: http://www.freebsd.org/cgi/query-pr.cgi?pr=105568 for more information and to download the patch Thanx! -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org