1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Change wheel group to systemd-network
No wheel group on Debian.
Forwarded: not-needed
Author: Yangfl <mmyangfl@gmail.com>
diff --git a/docs/netctl.profile.5.txt b/docs/netctl.profile.5.txt
index 78e0543..bdc2adb 100644
--- a/docs/netctl.profile.5.txt
+++ b/docs/netctl.profile.5.txt
@@ -300,7 +300,7 @@ of the `wireless' type:
'WPAGroup='::
Group that has the authority to configure *wpa_supplicant* via its
- control interface. Defaults to `++wheel++'.
+ control interface. Defaults to `++systemd-network++'.
'WPADriver='::
The *wpa_supplicant* driver to use. Defaults to `++nl80211,wext++'.
diff --git a/src/lib/wpa b/src/lib/wpa
index 92d5a83..96c86b7 100644
--- a/src/lib/wpa
+++ b/src/lib/wpa
@@ -213,7 +213,7 @@ wpa_make_config_file() {
fi
echo "ctrl_interface=/run/wpa_supplicant" >> "$config_file"
- echo "ctrl_interface_group=${WPAGroup:-wheel}" >> "$config_file"
+ echo "ctrl_interface_group=${WPAGroup:-systemd-network}" >> "$config_file"
[[ $Country ]] && echo "country=$Country" >> "$config_file"
if is_yes "${AdHoc:-no}"; then
echo "ap_scan=2" >> "$config_file"
|