aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/rc-enabled
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.BSD/rc-enabled')
-rw-r--r--init.d.BSD/rc-enabled4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d.BSD/rc-enabled b/init.d.BSD/rc-enabled
index 466146cb..6e9da965 100644
--- a/init.d.BSD/rc-enabled
+++ b/init.d.BSD/rc-enabled
@@ -53,7 +53,7 @@ start() {
"$svc" start && started="${started} ${svc}"
: $((retval += $?))
done
- save_options started "${started}"
+ service_set_value started "${started}"
eend $retval "Some local rc services failed to start"
return 0
}
@@ -61,7 +61,7 @@ start() {
stop() {
ebegin "Stopping local rc services"
local svc= retval=0
- for svc in $(rcorder $(get_options started) 2>/dev/null | sort -r); do
+ for svc in $(rcorder $(service_get_value started) 2>/dev/null | sort -r); do
"${svc}" stop
: $((retval += $?))
done