aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/ccwgroup.sh
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 /net.Linux/ccwgroup.sh
parentbc9cc3dfb5c27d30964dc497d7559c134f3893ef (diff)
get_options -> service_get_value and save_options -> service_set_value
Diffstat (limited to 'net.Linux/ccwgroup.sh')
-rw-r--r--net.Linux/ccwgroup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/net.Linux/ccwgroup.sh b/net.Linux/ccwgroup.sh
index 461b306d..98d3d561 100644
--- a/net.Linux/ccwgroup.sh
+++ b/net.Linux/ccwgroup.sh
@@ -59,7 +59,7 @@ ccwgroup_pre_start() {
ccwgroup_pre_stop() {
# Erase any existing ccwgroup to be safe
- save_options ccwgroup_device ""
+ service_set_value ccwgroup_device ""
[ ! -L /sys/class/net/"${FACE}"/driver ] && return 0
local driver="$(readlink /sys/class/net/"${IFACE}"/driver)"
@@ -70,11 +70,11 @@ ccwgroup_pre_stop() {
local device="$(readlink /sys/class/net/"${IFACE}"/device)"
device=${device##*/}
- save_options ccwgroup_device "${device}"
+ service_set_value ccwgroup_device "${device}"
}
ccwgroup_post_stop() {
- local device="$(get_options ccwgroup_device)"
+ local device="$(service_get_value ccwgroup_device)"
[ -z "${device}" ] && return 0
einfo "Disabling ccwgroup on ${iface}"