Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 14:52:44 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22698: Ports' rc.d files should use rc.conf 
Message-ID:  <200011081952.OAA96333@khavrinen.lcs.mit.edu>

next in thread | raw e-mail | index | archive | help

>Number:         22698
>Category:       ports
>Synopsis:       Ports' rc.d files should use rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 08 12:00:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
MIT Laboratory for Computer Science
>Environment:

We have several machines which are set up with identical software, for
cold-sparing purposes.  Not all of these machines run the same set of
daemons.  IWNRNI the standard rc.d/foo.sh files checked rc.conf to
find out whether or not they should be enabled.

>Description:

	

>How-To-Repeat:

Install ports with rc.d scripts.

>Fix:

For each port which installs an rc.d script, add the following:

	. /etc/defaults/rc.conf
	source_rc_confs

	case "$portname_enabled" in
	[Yy][Ee][Ss])	: ;;
	*)		exit 1;;
	esac



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011081952.OAA96333>