From 781798501379645e0df2e280cc786ba37a2d61c9 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Sun, 21 Feb 2010 16:35:14 +1100 Subject: Handle undefined SECURITY, set example to be explicit --- wpa_actiond/netcfg-wpa_actiond | 1 + 1 file changed, 1 insertion(+) (limited to 'wpa_actiond/netcfg-wpa_actiond') diff --git a/wpa_actiond/netcfg-wpa_actiond b/wpa_actiond/netcfg-wpa_actiond index ea0945f..84a622d 100755 --- a/wpa_actiond/netcfg-wpa_actiond +++ b/wpa_actiond/netcfg-wpa_actiond @@ -53,6 +53,7 @@ for profile in $(list_profiles); do [[ $CONNECTION != "wireless" ]] && exit 1 [[ $INTERFACE != $interface ]] && exit 1 # Exclude wpa-config, the wpa_conf is 'complete' and doesn't fit in this scheme + [[ -z "$SECURITY" ]] && SECURITY="none" [[ $SECURITY == "wpa-config" ]] && exit 1 config=$(make_wpa_config) -- cgit v1.2.3-24-g4f1b