aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/systemd/wpa_supplicant-nl80211@.service')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant-nl80211@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
new file mode 100644
index 0000000..04aa1ba
--- /dev/null
+++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=WPA supplicant daemon (interface- and nl80211 driver-specific version)
+Requires=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device
+
+# NetworkManager users will probably want the dbus version instead.
+
+[Service]
+Type=simple
+ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
+
+[Install]
+Alias=network.target.wants/wpa_supplicant-nl80211@wlan0.service