mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
wpa-supplicant: reload dbus in postinst
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2792 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -61,3 +61,16 @@ do_install () {
|
|||||||
install -d ${D}/${sysconfdir}/dbus-1/system.d
|
install -d ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
|
install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_postinst_wpa-supplicant () {
|
||||||
|
# can't do this offline
|
||||||
|
if [ "x$D" != "x" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
DBUSPID=`pidof dbus-daemon`
|
||||||
|
|
||||||
|
if [ "x$DBUSPID" != "x" ]; then
|
||||||
|
/etc/init.d/dbus-1 reload
|
||||||
|
fi
|
||||||
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
require wpa-supplicant-0.5.inc
|
require wpa-supplicant-0.5.inc
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|||||||
Reference in New Issue
Block a user