summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/network/if-post-down.d/03-wireless
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-13 15:06:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-13 15:06:06 +0100
commitfb29d8570b015c9bc0b7876db5b3a1dba732aa2a (patch)
treed85e6b46d8cf6db8d6e03983239a026301d4d98b /package/base-files/src/etc/network/if-post-down.d/03-wireless
parent011eae436ef9c42ffeae570d10964ab1265c081d (diff)
implement WPA client mode
Diffstat (limited to 'package/base-files/src/etc/network/if-post-down.d/03-wireless')
-rwxr-xr-xpackage/base-files/src/etc/network/if-post-down.d/03-wireless6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/src/etc/network/if-post-down.d/03-wireless b/package/base-files/src/etc/network/if-post-down.d/03-wireless
index 66e92639b..86e0c73e1 100755
--- a/package/base-files/src/etc/network/if-post-down.d/03-wireless
+++ b/package/base-files/src/etc/network/if-post-down.d/03-wireless
@@ -8,6 +8,12 @@ case "$IF_WIRELESS_MODE" in
logger -t hostap "Killing hostapd"
pkill hostapd
;;
+ sta)
+ [ "$IF_WIRELESS_SECURITY" != "none" ] && {
+ logger -t wireless "Killing wpa_supplicant"
+ pkill wpa_supplicant
+ }
+ ;;
*)
exit 0
;;