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 --- net/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh index a75f04a5..e18ffcb6 100644 --- a/net/wpa_supplicant.sh +++ b/net/wpa_supplicant.sh @@ -83,13 +83,13 @@ wpa_supplicant_pre_start() { if ${wireless} && service_started_daemon "${SVCNAME}" "${wpas}"; then SSID=$(_get_ssid "${IFACE}") SSIDVAR=$(_shell_var "${SSID}") - save_options "SSID" "${SSID}" + service_set_value "SSID" "${SSID}" metric=2000 fi return 0 fi - save_options "SSID" "" + service_set_value "SSID" "" ebegin "Starting wpa_supplicant on ${IFVAR}" if [ -x /sbin/iwconfig ]; then @@ -134,7 +134,7 @@ wpa_supplicant_pre_start() { opts="${opts} -C ${ctrl_dir}" fi fi - save_options ctrl_dir "${ctrl_dir}" + service_set_value ctrl_dir "${ctrl_dir}" actfile="/etc/wpa_supplicant/wpa_cli.sh" -- cgit v1.2.3