Subject: Re: Keeping /etc/defaults and /etc/rc.d in-sync
To: Frederick Bruckman <fredb@immanent.net>
From: Greywolf <greywolf@starwolf.com>
List: tech-userlevel
Date: 12/26/2001 21:28:30
I wrote
    Actually, what would go a long way toward solving that would also be
    /etc/mk.conf, in which LOCALBASE and X11BASE are defined.

    i.e.

    ntpd=YES	ntpd_path="$LOCALBASE/bin/ntpd"

    This in case LOCALBASE ever gets redefined and migrated.  Not likely,
    but possible.

# You could just set those in "/etc/rc.conf", like near the bottom,
# perhaps, and they'd be expanded when the file is sourced. Like so:
#
# # Put your overrides for installed packages here:
# #
# LOCALBASE=/usr/pkg
# X11PREFIX=/usr/X11R6
# #named=YES	named_path="${LOCALBASE}/bin/named"	named_flags=""
# #xdm=YES	xdm_path="${X11PREFIX}/bin/kdm"		xdm_flags=""
#
# [X11PREFIX is the user configurable setting for where X packages get
# installed. X11BASE always points to /usr/X11R6, where X is installed.]

Thanks for the correction, yes, that's right.

However, then you have to keep mk.conf and rc.conf in sync, hence the
reason behind my suggestion.

# Frederick

				--*greywolf;
--
NetBSD: "Progress on your system is closer than it appears."