mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c743881592
commit
bf1bdc67e5
@@ -84,9 +84,5 @@ pkg_postinst_wpa-supplicant () {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
DBUSPID=`pidof dbus-daemon`
|
||||
|
||||
if [ "x$DBUSPID" != "x" ]; then
|
||||
/etc/init.d/dbus-1 reload || true
|
||||
fi
|
||||
killall -q -HUP dbus-daemon || true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user