summaryrefslogtreecommitdiff
path: root/meta/packages/wpa-supplicant
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-09-26 08:44:38 +0000
committerRoss Burton <ross@openedhand.com>2007-09-26 08:44:38 +0000
commit2b6d98f628c0d814a421fa79a1c0968a99fb7f32 (patch)
treecc50c92efc62e2e873eece533c0ee409fd65eb7a /meta/packages/wpa-supplicant
parenteb7cc8a967c50abc875497fe9410c16206e51b78 (diff)
downloadopenembedded-core-2b6d98f628c0d814a421fa79a1c0968a99fb7f32.tar.gz
openembedded-core-2b6d98f628c0d814a421fa79a1c0968a99fb7f32.tar.bz2
openembedded-core-2b6d98f628c0d814a421fa79a1c0968a99fb7f32.tar.xz
openembedded-core-2b6d98f628c0d814a421fa79a1c0968a99fb7f32.zip
wpa-supplicant: reload dbus in postinst
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2792 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/wpa-supplicant')
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc13
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb2
2 files changed, 14 insertions, 1 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
index 10b769017..bc8cb80e8 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
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
index 67a5b99b0..68eceea91 100644
--- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
+++ b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
@@ -1,3 +1,3 @@
require wpa-supplicant-0.5.inc
-PR = "r1"
+PR = "r2"