[oe-commits] org.oe.dev gsm0710muxd svn send SIGHUP to dbus to make it reread its configuration files

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Feb 7 00:04:45 UTC 2008


gsm0710muxd svn send SIGHUP to dbus to make it reread its configuration files

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 99eebf2f18c1bdefe9684a7e5c50fcb9dc5bce59
ViewMTN: http://monotone.openembedded.org/revision/info/99eebf2f18c1bdefe9684a7e5c50fcb9dc5bce59
Files:
1
packages/freesmartphone/gsm0710muxd_svn.bb
Diffs:

#
# mt diff -r318bf9de24749da4afb57a01bd561de729d0d3c2 -r99eebf2f18c1bdefe9684a7e5c50fcb9dc5bce59
#
# 
# 
# patch "packages/freesmartphone/gsm0710muxd_svn.bb"
#  from [03f62477a6bd8456dc0f7e5444bf0e62bf2575c3]
#    to [b58fedc1f5b1fff05ee4090f2383de57cd3970da]
# 
============================================================
--- packages/freesmartphone/gsm0710muxd_svn.bb	03f62477a6bd8456dc0f7e5444bf0e62bf2575c3
+++ packages/freesmartphone/gsm0710muxd_svn.bb	b58fedc1f5b1fff05ee4090f2383de57cd3970da
@@ -1,10 +1,10 @@ PV = "0.0+svnr${SRCREV}"
 DESCRIPTION = "gsm.07.10 muxer userspace daemon"
 AUTHOR = "M. Dietrich"
 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
+}






More information about the Openembedded-commits mailing list