aboutsummaryrefslogtreecommitdiffstats
path: root/hacks/punch_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/punch_config.sh')
-rwxr-xr-xhacks/punch_config.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hacks/punch_config.sh b/hacks/punch_config.sh
new file mode 100755
index 0000000..611250d
--- /dev/null
+++ b/hacks/punch_config.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# sticks our config for hostnamed (which needs to use the system bus)
+# in place. and restarts dbus-daemon will be replaced by a more elegant,
+# not-hack in the future
+
+cp $(dirname "$(readlink -f "$0")")/hostnamed-dbus.conf /etc/dbus-1/system.d/hostnamed-dbus.conf
+/etc/rc.d/dbus_daemon reload >> /dev/null