Subject: Re: Keeping /etc/defaults and /etc/rc.d in-sync
To: Greywolf <greywolf@starwolf.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-userlevel
Date: 12/27/2001 00:44:01
>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.
so...
(1) echo LOCALBASE=/usr/pkg >> /etc/rc.conf
(2) echo 'command=$LOCALBASE/bin/ntpd' > /etc/rc.conf.d/ntpd
...and you're done. no?
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."