aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd
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
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')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in (renamed from wpa_supplicant/systemd/wpa_supplicant-nl80211@.service)2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant-wired@.service.in (renamed from wpa_supplicant/systemd/wpa_supplicant-wired@.service)2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.in (renamed from wpa_supplicant/systemd/wpa_supplicant.service)2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant@.service.in (renamed from wpa_supplicant/systemd/wpa_supplicant@.service)2
4 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
index 04aa1ba..4d9c146 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service
+++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
@@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
[Service]
Type=simple
-ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
+ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
[Install]
Alias=network.target.wants/wpa_supplicant-nl80211@wlan0.service
diff --git a/wpa_supplicant/systemd/wpa_supplicant-wired@.service b/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in
index 83f8c91..f2e7f11 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-wired@.service
+++ b/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in
@@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
[Service]
Type=simple
-ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
+ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
[Install]
Alias=network.target.wants/wpa_supplicant-wired@wlan0.service
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service b/wpa_supplicant/systemd/wpa_supplicant.service.in
index a9ab246..5b947ac 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -4,7 +4,7 @@ Description=WPA supplicant
[Service]
Type=dbus
BusName=fi.epitest.hostap.WPASupplicant
-ExecStart=/sbin/wpa_supplicant -u
+ExecStart=@BINDIR@/wpa_supplicant -u
[Install]
WantedBy=network.target
diff --git a/wpa_supplicant/systemd/wpa_supplicant@.service b/wpa_supplicant/systemd/wpa_supplicant@.service.in
index 129dd1f..0340b4d 100644
--- a/wpa_supplicant/systemd/wpa_supplicant@.service
+++ b/wpa_supplicant/systemd/wpa_supplicant@.service.in
@@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
[Service]
Type=simple
-ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
+ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
[Install]
Alias=network.target.wants/wpa_supplicant@wlan0.service