aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd/wpa_supplicant.service.in
diff options
context:
space:
mode:
authorHenry Gebhardt <hsggebhardt@googlemail.com>2011-07-15 09:25:02 (GMT)
committerJouni Malinen <j@w1.fi>2011-07-15 09:25:02 (GMT)
commitf0573c7989e88023d1e9bb17d775e944cd956ae8 (patch)
treebfab35a0595c712b534b819f5acb96ab15ea642d /wpa_supplicant/systemd/wpa_supplicant.service.in
parent2ecaec50c8eb772e131b6c468b60edbcc00e660c (diff)
downloadhostap-f0573c7989e88023d1e9bb17d775e944cd956ae8.zip
hostap-f0573c7989e88023d1e9bb17d775e944cd956ae8.tar.gz
hostap-f0573c7989e88023d1e9bb17d775e944cd956ae8.tar.bz2
wpa_supplicant: Edit BINDIR in dbus and systemd service files
This is useful, since in Gentoo BINDIR=/usr/sbin.
Diffstat (limited to 'wpa_supplicant/systemd/wpa_supplicant.service.in')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
new file mode 100644
index 0000000..5b947ac
--- /dev/null
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=WPA supplicant
+
+[Service]
+Type=dbus
+BusName=fi.epitest.hostap.WPASupplicant
+ExecStart=@BINDIR@/wpa_supplicant -u
+
+[Install]
+WantedBy=network.target
+Alias=dbus-fi.epitest.hostap.WPASupplicant.service