From owner-freebsd-rc@FreeBSD.ORG Thu Dec 27 18:40:01 2012 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D501A69 for ; Thu, 27 Dec 2012 18:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2CB8FC0A for ; Thu, 27 Dec 2012 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRIe1uv043524 for ; Thu, 27 Dec 2012 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBRIe1gM043523; Thu, 27 Dec 2012 18:40:01 GMT (envelope-from gnats) Date: Thu, 27 Dec 2012 18:40:01 GMT Message-Id: <201212271840.qBRIe1gM043523@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Devin Teske Subject: Re: conf/163508: [rc.subr] [patch] Add " enable" and " disable" commands to rc.subr X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 18:40:01 -0000 The following reply was made to PR conf/163508; it has been noted by GNATS. From: Devin Teske To: , Cc: Devin Teske Subject: Re: conf/163508: [rc.subr] [patch] Add "enable" and "disable" commands to rc.subr Date: Thu, 27 Dec 2012 10:32:10 -0800 In HEAD is usr.sbin/sysrc I'm not advocating the use of sysrc(8) to solve this problem, but instead, = that tool uses a common library of sh(1) routines that can be used to solve= this problem. Specifically,=85 /usr/share/bsdconfig/sysrc.subr Is the complete module allowing any shell script (or subroutine collection,= such as /etc/rc.subr) to manage the rc.conf(5) collection of system config= uration files. Currently, this include file (sysrc.subr) only exists in HEAD and is not di= stributed to RELEASE yet. To install this script, first download HEAD and t= hen: cd usr.sbin/bsdconfig make all install --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.