summaryrefslogtreecommitdiffstats
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)
downloadpoky-2b6d98f628c0d814a421fa79a1c0968a99fb7f32.tar.gz
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 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 () {
61 install -d ${D}/${sysconfdir}/dbus-1/system.d 61 install -d ${D}/${sysconfdir}/dbus-1/system.d
62 install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d 62 install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
63} 63}
64
65pkg_postinst_wpa-supplicant () {
66 # can't do this offline
67 if [ "x$D" != "x" ]; then
68 exit 1
69 fi
70
71 DBUSPID=`pidof dbus-daemon`
72
73 if [ "x$DBUSPID" != "x" ]; then
74 /etc/init.d/dbus-1 reload
75 fi
76} \ 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 67a5b99b0f..68eceea918 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 @@
1require wpa-supplicant-0.5.inc 1require wpa-supplicant-0.5.inc
2 2
3PR = "r1" 3PR = "r2"