summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-01-16 14:34:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-16 23:39:06 +0000
commit758d53d3044f29f3c33ffee3ada88c9edc9f864f (patch)
tree03896a51f77fdde9e3485f6e82f24d296d165ed8 /meta/recipes-connectivity
parent93b4ecc263947826421d5b4fb1f99fe506b24287 (diff)
downloadopenembedded-core-758d53d3044f29f3c33ffee3ada88c9edc9f864f.tar.gz
openembedded-core-758d53d3044f29f3c33ffee3ada88c9edc9f864f.tar.bz2
openembedded-core-758d53d3044f29f3c33ffee3ada88c9edc9f864f.zip
wpa-supplicant-2.0: don't exit in pkg_postinst
Exiting explicitly in pkg_postinst makes it impossible to use the update-rc.d class in a .bbappend because the link creation is appended to the pkg_postinst script. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.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.inc5
1 files changed, 2 insertions, 3 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 491dfbfaff..9b722cb0e1 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
@@ -82,9 +82,8 @@ do_install () {
pkg_postinst_wpa-supplicant () {
# If we're offline, we don't need to do this.
- if [ "x$D" != "x" ]; then
- exit 0
+ if [ "x$D" = "x" ]; then
+ killall -q -HUP dbus-daemon || true
fi
- killall -q -HUP dbus-daemon || true
}