summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-06 23:20:48 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-06 23:20:48 +0000
commitd59865dc36eff66b6271bd97c1e21e75f4161701 (patch)
tree0c044105d33fad67f056ba73a65244815d007199
parent81c778b975fc2c6c77f084f4e5ab1be8d3af8bea (diff)
gsm0710muxd svn send SIGHUP to dbus to make it reread its configuration files
-rw-r--r--packages/freesmartphone/gsm0710muxd_svn.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/freesmartphone/gsm0710muxd_svn.bb b/packages/freesmartphone/gsm0710muxd_svn.bb
index f451f7814c..0849b55bbc 100644
--- a/packages/freesmartphone/gsm0710muxd_svn.bb
+++ b/packages/freesmartphone/gsm0710muxd_svn.bb
@@ -4,7 +4,7 @@ SECTION = "console/network"
DEPENDS = "intltool-native dbus"
LICENSE = "GPL"
PV = "0.0+svnr${SRCREV}"
-PR = "r1"
+PR = "r2"
SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=gsm0710muxd"
S = "${WORKDIR}/gsm0710muxd"
@@ -18,3 +18,13 @@ do_install_append() {
chmod a+rx ${D}${sysconfdir}/init.d/gsm0710muxd
}
+pkg_postinst_${PN}() {
+ # can't do this offline
+ if [ "x$D" != "x" ]; then
+ exit 1
+ fi
+ # reload dbus configuration files
+ for i in `pidof dbus-daemon`; do
+ kill -SIGHUP $i
+ done
+}