diff options
Diffstat (limited to 'meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc')
-rw-r--r-- | meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc index 10b7690171..bc8cb80e8e 100644 --- a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc +++ b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc @@ -61,3 +61,16 @@ do_install () { install -d ${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 +}
\ No newline at end of file |