aboutsummaryrefslogtreecommitdiff
path: root/net.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-02 15:38:37 +0000
committerRoy Marples <roy@marples.name>2008-01-02 15:38:37 +0000
commitfadee8e656807f466cdf39a9a9c0c113613bc36d (patch)
tree1179d0acb5e063621467654263e978274ec387dd /net.Linux
parente5933843e81b213786f78bb267f84fa78f663b61 (diff)
Move _shell_var shell function to shell_var C applet
Diffstat (limited to 'net.Linux')
-rw-r--r--net.Linux/iwconfig.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.Linux/iwconfig.sh b/net.Linux/iwconfig.sh
index 272d1fb9..13f43d02 100644
--- a/net.Linux/iwconfig.sh
+++ b/net.Linux/iwconfig.sh
@@ -165,7 +165,7 @@ iwconfig_setup_specific() {
eerror "adjust the ssid_${IFVAR} setting in /etc/conf.d/net"
return 1
fi
- SSIDVAR=$(_shell_var "${SSID}")
+ SSIDVAR=$(shell_var "${SSID}")
local key=$(iwconfig_get_wep_key)
iwconfig_set_mode "${mode}"
@@ -246,7 +246,7 @@ iwconfig_associate() {
iwconfig "${IFACE}" ap any 2>/dev/null
unset SSIDVAR
else
- SSIDVAR=$(_shell_var "${SSID}")
+ SSIDVAR=$(shell_var "${SSID}")
key="$(iwconfig_get_wep_key "${mac}")"
if [ "${wep_required}" = "on" -a "${key}" = "off" ]; then
ewarn "WEP key is not set for \"${SSID}\" - not connecting"