From d59865dc36eff66b6271bd97c1e21e75f4161701 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 6 Feb 2008 23:20:48 +0000 Subject: gsm0710muxd svn send SIGHUP to dbus to make it reread its configuration files --- packages/freesmartphone/gsm0710muxd_svn.bb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'packages') 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 +} -- cgit v1.2.3