aboutsummaryrefslogtreecommitdiffstats
path: root/main/dbus/dbus.trigger
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-26 13:43:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-26 13:43:32 +0000
commit7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb (patch)
tree4e4001560b9fafacac093eb6210cbae70f8af4c7 /main/dbus/dbus.trigger
parentcf0062f18278b078a2132e2ba17f3a74e7dcfc34 (diff)
downloadaports-7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb.tar.bz2
aports-7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb.tar.xz
main/dbus: add trigger for reloading config
Diffstat (limited to 'main/dbus/dbus.trigger')
-rw-r--r--main/dbus/dbus.trigger4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/dbus/dbus.trigger b/main/dbus/dbus.trigger
new file mode 100644
index 0000000000..a537bd8dfc
--- /dev/null
+++ b/main/dbus/dbus.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
+ org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :