aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-01-28 15:12:30 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-28 15:12:30 (GMT)
commit6897ce14a41c30460c75fe06232f1bb91695c6ae (patch)
tree287f5681b83bcfb4233f409f95eeb45d9ca18493 /wpa_supplicant/systemd/wpa_supplicant.service.arg.in
parent913e3cf794cccf19d551d936a16c7d91acb5e834 (diff)
downloadhostap-6897ce14a41c30460c75fe06232f1bb91695c6ae.zip
hostap-6897ce14a41c30460c75fe06232f1bb91695c6ae.tar.gz
hostap-6897ce14a41c30460c75fe06232f1bb91695c6ae.tar.bz2
Rename systemd template files to avoid @ in the file name
Perforce does not like @ in the file name and since these template files do not really need to have that in the name, make the files in repository friendlier to Perforce. The generated *.service file will maintain their old names. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/systemd/wpa_supplicant.service.arg.in')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.arg.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
new file mode 100644
index 0000000..c215567
--- /dev/null
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
@@ -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=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
+
+[Install]
+Alias=multi-user.target.wants/wpa_supplicant@wlan0.service