File: change-wheel-group-to-systemd-network.patch

package info (click to toggle)
netctl 1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 572 kB
  • sloc: sh: 820; makefile: 73
file content (30 lines) | stat: -rw-r--r-- 1,149 bytes parent folder | download | duplicates (2)
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"