aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd/wpa_supplicant@.service
diff options
context:
space:
mode:
authorHenry Gebhardt <hsggebhardt@googlemail.com>2011-07-15 09:13:40 (GMT)
committerJouni Malinen <j@w1.fi>2011-07-15 09:13:40 (GMT)
commit2ecaec50c8eb772e131b6c468b60edbcc00e660c (patch)
treea5efa9097e9478ba8390f807204d922d9fe923ad /wpa_supplicant/systemd/wpa_supplicant@.service
parentf67eeb5c320274d5839733d5ffd7f553d99e335d (diff)
downloadhostap-2ecaec50c8eb772e131b6c468b60edbcc00e660c.zip
hostap-2ecaec50c8eb772e131b6c468b60edbcc00e660c.tar.gz
hostap-2ecaec50c8eb772e131b6c468b60edbcc00e660c.tar.bz2
wpa_supplicant: Add systemd support
Diffstat (limited to 'wpa_supplicant/systemd/wpa_supplicant@.service')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant@.service b/wpa_supplicant/systemd/wpa_supplicant@.service
new file mode 100644
index 0000000..129dd1f
--- /dev/null
+++ b/wpa_supplicant/systemd/wpa_supplicant@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=WPA supplicant daemon (interface-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-%I.conf -i%I
+
+[Install]
+Alias=network.target.wants/wpa_supplicant@wlan0.service