summaryrefslogtreecommitdiff
path: root/packages/wpa-supplicant/wpa-supplicant-0.6.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/wpa-supplicant/wpa-supplicant-0.6.inc')
-rw-r--r--packages/wpa-supplicant/wpa-supplicant-0.6.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/wpa-supplicant/wpa-supplicant-0.6.inc b/packages/wpa-supplicant/wpa-supplicant-0.6.inc
index 6198958cd5..779bee7487 100644
--- a/packages/wpa-supplicant/wpa-supplicant-0.6.inc
+++ b/packages/wpa-supplicant/wpa-supplicant-0.6.inc
@@ -59,7 +59,14 @@ do_install () {
install -d ${D}${sysconfdir}/wpa_supplicant
install -m 755 ${WORKDIR}/ifupdown.sh ${D}${sysconfdir}/wpa_supplicant/
install -m 755 ${WORKDIR}/functions.sh ${D}${sysconfdir}/wpa_supplicant
-
+
+ install -d ${D}/${sysconfdir}/dbus-1/system.d
+ install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
+ install -d ${D}/${datadir}/dbus-1/system-services
+ install -m 644 ${S}/dbus-wpa_supplicant.service ${D}/${datadir}/dbus-1/system-services
+
ln -s /etc/wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-pre-up.d/wpasupplicant
ln -s /etc/wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-post-down.d/wpasupplicant
}
+
+FILES_${PN} += "${datadir}/dbus-1/system-services/*"