summaryrefslogtreecommitdiff
path: root/init.d.BSD/rc-enabled
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-19 14:28:38 +0000
committerRoy Marples <roy@marples.name>2007-12-19 14:28:38 +0000
commited620aec61752b35914aec8841a2576ceb69a277 (patch)
tree1f41d6f09b76c8cbe17f924d49bd17bc44c3659b /init.d.BSD/rc-enabled
parentbc9cc3dfb5c27d30964dc497d7559c134f3893ef (diff)
downloadopenrc-ed620aec61752b35914aec8841a2576ceb69a277.tar.gz
openrc-ed620aec61752b35914aec8841a2576ceb69a277.tar.bz2
openrc-ed620aec61752b35914aec8841a2576ceb69a277.tar.xz
get_options -> service_get_value and save_options -> service_set_value
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 466146c..6e9da96 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