aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-12-29 19:39:34 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-29 19:39:34 (GMT)
commit399ec170e87ca1404c534d31da663ca05fef63ab (patch)
tree0f2f04c5f3fbad1450a76910df6064429f816ebe /wpa_supplicant/systemd
parent62a8ea7d01428ed717eb36b32020ce9a89fb59ae (diff)
downloadhostap-399ec170e87ca1404c534d31da663ca05fef63ab.zip
hostap-399ec170e87ca1404c534d31da663ca05fef63ab.tar.gz
hostap-399ec170e87ca1404c534d31da663ca05fef63ab.tar.bz2
Use correct (multi-user) target when installing systemd units
The 'network.target' is special (per systemd.special(7)), and is to be brought up indirectly when network is actually configured (i.e. through DHCP or static address settings). Irrelevant of that, all services should be always installed in multi-user.target. [Bug 427]
Diffstat (limited to 'wpa_supplicant/systemd')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant-wired@.service.in2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.in2
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant@.service.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
index 4d9c146..76aba12 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
@@ -10,4 +10,4 @@ Type=simple
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
+Alias=multi-user.target.wants/wpa_supplicant-nl80211@wlan0.service
diff --git a/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in b/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in
index f2e7f11..ff384ae 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant-wired@.service.in
@@ -10,4 +10,4 @@ Type=simple
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
+Alias=multi-user.target.wants/wpa_supplicant-wired@wlan0.service
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
index 5b947ac..4351ad8 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -7,5 +7,5 @@ BusName=fi.epitest.hostap.WPASupplicant
ExecStart=@BINDIR@/wpa_supplicant -u
[Install]
-WantedBy=network.target
+WantedBy=multi-user.target
Alias=dbus-fi.epitest.hostap.WPASupplicant.service
diff --git a/wpa_supplicant/systemd/wpa_supplicant@.service.in b/wpa_supplicant/systemd/wpa_supplicant@.service.in
index 0340b4d..c215567 100644
--- a/wpa_supplicant/systemd/wpa_supplicant@.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant@.service.in
@@ -10,4 +10,4 @@ Type=simple
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
[Install]
-Alias=network.target.wants/wpa_supplicant@wlan0.service
+Alias=multi-user.target.wants/wpa_supplicant@wlan0.service