diff options
author | Doug Barton <dougb@FreeBSD.org> | 2006-01-07 06:29:57 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2006-01-07 06:29:57 +0000 |
commit | ffde46cbf97ed90584d8c10bdc6bae8094784387 (patch) | |
tree | b78a36a23c5db32b200d7f48cb719e48b524fa47 /misc | |
parent | [UPDATE]: textproc/cwtext: Update to version 0.95 (diff) |
Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts
are overriding the values in /etc/rc.conf[.local] (due to
the way that variables from the latter are read at boot time).
Therefore, change the boot scripts to set default values only
if the variable is unset in /etc/rc.conf[.local]. This will
allow the service to start at boot time if it's been enabled
as the user would expect.
This change will be a noop for users who have systems that
have not yet been upgraded to the new rc.d code in the base.
In many cases there are other variables in the scripts that
should get similar treatment, however I did not change
anything other than the _enable lines. I'll leave the rest
up to the maintainers to do as they see fit.
Bump PORTREVISION to make sure that users and packages
pick up this change.
Notes
Notes:
svn path=/head/; revision=152963
Diffstat (limited to 'misc')
-rw-r--r-- | misc/upclient/Makefile | 2 | ||||
-rw-r--r-- | misc/upclient/files/upclient.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile index a32cab0aef45..541ebeb011a8 100644 --- a/misc/upclient/Makefile +++ b/misc/upclient/Makefile @@ -7,7 +7,7 @@ PORTNAME= upclient PORTVERSION= 5.0.b8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= http://uptimes.hostingwired.com/files/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/misc/upclient/files/upclient.sh b/misc/upclient/files/upclient.sh index 33bb21bb0745..6891c0c3667c 100644 --- a/misc/upclient/files/upclient.sh +++ b/misc/upclient/files/upclient.sh @@ -30,7 +30,7 @@ upclient_precmd () : } -upclient_enable=NO +upclient_enable="${upclient_enable-NO}" upclient_flags= . %%RC_SUBR%% |