summaryrefslogtreecommitdiffstats
path: root/scripts/netcfg-wpa_actiond
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-02-27 17:11:21 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2012-02-27 17:11:21 +0100
commit8d1c5e8ec6b637015e84bbb154ece9065c59f1c5 (patch)
tree573516ed0a5a8af5ba0a50b706af63d0ae4eef5d /scripts/netcfg-wpa_actiond
parentd31febe0879d156c05dc47bb8ecbdf2cfee92238 (diff)
downloadnetctl-8d1c5e8ec6b637015e84bbb154ece9065c59f1c5.tar.gz
netctl-8d1c5e8ec6b637015e84bbb154ece9065c59f1c5.tar.xz
Reconnect syntax for interfaces (FS#28196)
It is now possible to reconnect based on the name of the interface.
Diffstat (limited to 'scripts/netcfg-wpa_actiond')
-rwxr-xr-xscripts/netcfg-wpa_actiond4
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