summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-04-16 15:25:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-16 16:51:41 +0100
commit92af7d96140f10b53699817dae4d863fb09d1a6d (patch)
tree23ca8020be292e56f29bd37bb7a212b88201f01f /meta/recipes-connectivity
parentd1d8b9c53ab27050c36618b631703cb03935a896 (diff)
downloadpoky-92af7d96140f10b53699817dae4d863fb09d1a6d.tar.gz
wpa-supplicant: don't call DBus init script directly
After installing Avahi we need DBus to reload it's configuration. In a pure-systemd image there isn't a DBus init script to reload, so cut out the middleman and just sent SIGHUP to all running dbus-daemon processes instead. (From OE-Core rev: d6fb028de172bb649b905b605f6ddc8402af859a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
index dd850578af..e5f7881a26 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
@@ -84,9 +84,5 @@ pkg_postinst_wpa-supplicant () {
84 exit 0 84 exit 0
85 fi 85 fi
86 86
87 DBUSPID=`pidof dbus-daemon` 87 killall -q -HUP dbus-daemon || true
88
89 if [ "x$DBUSPID" != "x" ]; then
90 /etc/init.d/dbus-1 reload || true
91 fi
92} 88}