diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-10-09 18:25:25 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-10-09 18:25:25 +0200 |
commit | 621e6813aa870a1c853fd528931adabc8500d4f9 (patch) | |
tree | 2c5525b5974ddda4171ee432bd3600ef7fefd989 | |
parent | d1fc752c83b6f74374579852d506f3468f90a5e5 (diff) | |
download | ptxdist-621e6813aa870a1c853fd528931adabc8500d4f9.tar.gz ptxdist-621e6813aa870a1c853fd528931adabc8500d4f9.tar.xz |
wpa_supplicant: install wpa_supplicant.service
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/wpa_supplicant.make | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make index 45d3f7a65..060769673 100644 --- a/rules/wpa_supplicant.make +++ b/rules/wpa_supplicant.make @@ -97,6 +97,9 @@ $(STATEDIR)/wpa_supplicant.install: install -D -m 644 "$(WPA_SUPPLICANT_DIR)/$(WPA_SUPPLICANT_SUBDIR)/dbus/fi.w1.wpa_supplicant1.service" \ "$(WPA_SUPPLICANT_PKGDIR)/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service" + install -D -m 644 "$(WPA_SUPPLICANT_DIR)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant.service" \ + "$(WPA_SUPPLICANT_PKGDIR)/lib/systemd/system/wpa_supplicant.service" + @$(call touch) # ---------------------------------------------------------------------------- @@ -127,6 +130,10 @@ ifdef PTXCONF_WPA_SUPPLICANT_CTRL_IFACE_DBUS @$(call install_alternative, wpa_supplicant, 0, 0, 0644, \ /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service) endif +ifdef PTXCONF_INITMETHOD_SYSTEMD + @$(call install_alternative, wpa_supplicant, 0, 0, 0644, \ + /lib/systemd/system/wpa_supplicant.service) +endif @$(call install_alternative, wpa_supplicant, 0, 0, 0644, \ /etc/wpa_supplicant.conf) |