From ed620aec61752b35914aec8841a2576ceb69a277 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Dec 2007 14:28:38 +0000 Subject: get_options -> service_get_value and save_options -> service_set_value --- init.d.BSD/rc-enabled | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.d.BSD/rc-enabled') 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 -- cgit v1.2.3