diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-13 15:06:06 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-13 15:06:06 +0100 |
commit | fb29d8570b015c9bc0b7876db5b3a1dba732aa2a (patch) | |
tree | d85e6b46d8cf6db8d6e03983239a026301d4d98b /package/base-files/src/etc/network/if-post-down.d/03-wireless | |
parent | 011eae436ef9c42ffeae570d10964ab1265c081d (diff) |
implement WPA client mode
Diffstat (limited to 'package/base-files/src/etc/network/if-post-down.d/03-wireless')
-rwxr-xr-x | package/base-files/src/etc/network/if-post-down.d/03-wireless | 6 |
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 ;; |