diff options
author | Roy Marples <roy@marples.name> | 2007-12-19 14:28:38 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-19 14:28:38 +0000 |
commit | ed620aec61752b35914aec8841a2576ceb69a277 (patch) | |
tree | 1f41d6f09b76c8cbe17f924d49bd17bc44c3659b /net/wpa_supplicant.sh | |
parent | bc9cc3dfb5c27d30964dc497d7559c134f3893ef (diff) |
get_options -> service_get_value and save_options -> service_set_value
Diffstat (limited to 'net/wpa_supplicant.sh')
-rw-r--r-- | net/wpa_supplicant.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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" |