summaryrefslogtreecommitdiff
path: root/sysutils/estctrl
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-01-07 06:29:57 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-01-07 06:29:57 +0000
commitffde46cbf97ed90584d8c10bdc6bae8094784387 (patch)
treeb78a36a23c5db32b200d7f48cb719e48b524fa47 /sysutils/estctrl
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.
Diffstat (limited to 'sysutils/estctrl')
-rw-r--r--sysutils/estctrl/Makefile2
-rw-r--r--sysutils/estctrl/files/estctrl.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/estctrl/Makefile b/sysutils/estctrl/Makefile
index a396a319f529..0d6b6ae01c77 100644
--- a/sysutils/estctrl/Makefile
+++ b/sysutils/estctrl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= estctrl
PORTVERSION= 0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.daemonology.net/freebsd-est/
diff --git a/sysutils/estctrl/files/estctrl.sh b/sysutils/estctrl/files/estctrl.sh
index 17fe0375ec39..fb4c13d4e105 100644
--- a/sysutils/estctrl/files/estctrl.sh
+++ b/sysutils/estctrl/files/estctrl.sh
@@ -14,7 +14,7 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-estctrl_enable="NO"
+estctrl_enable="${estctrl_enable-NO}"
estctrl_speed_ac="adaptive"
estctrl_speed_battery="adaptive"
estctrl_speed_default="adaptive"