diff options
Diffstat (limited to 'scripts/netcfg-wpa_actiond')
-rwxr-xr-x | scripts/netcfg-wpa_actiond | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond index bb144c3..2e402df 100755 --- a/scripts/netcfg-wpa_actiond +++ b/scripts/netcfg-wpa_actiond @@ -67,9 +67,7 @@ fi | while read profile; do [[ -z "$SECURITY" ]] && SECURITY="none" [[ $SECURITY == "wpa-config" ]] && exit 1 - config=$(make_wpa_config) - - echo -e "network={ \n$config \nid_str=\"$profile\" \n}" >> $WPA_CONF + echo -e "network={ \n$(make_wpa_config) \nid_str=\"$profile\" \n}" >> $WPA_CONF ) done |