XML configs will be either compiled in (default) or installed (flagged), rm workarounds
authorkremlin <ian@kremlin.cc>
Sat, 7 Jun 2014 07:45:04 +0000 (03:45 -0400)
committerkremlin <ian@kremlin.cc>
Sat, 7 Jun 2014 07:45:04 +0000 (03:45 -0400)
hacks/hostnamed-dbus.conf [deleted file]
hacks/punch_config.sh [deleted file]
hacks/unpunch_config.sh [deleted file]

diff --git a/hacks/hostnamed-dbus.conf b/hacks/hostnamed-dbus.conf
deleted file mode 100644 (file)
index c84c0f3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<!-- if i am in /etc/dbus-1/system.d/ you should probably delete me immediately -->
-
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-  <policy context="default">
-    <allow own="org.freedesktop.hostname1"/>
-    <allow send_destination="org.freedesktop.hostname1"/>
-    <allow receive_sender="org.freedesktop.hostname1"/>
-  </policy>
-</busconfig>
diff --git a/hacks/punch_config.sh b/hacks/punch_config.sh
deleted file mode 100755 (executable)
index 611250d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/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
diff --git a/hacks/unpunch_config.sh b/hacks/unpunch_config.sh
deleted file mode 100755 (executable)
index 076c353..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# unsticks our config for hostnamed (which needs to use the system bus)
-# and restarts dbus
-
-rm /etc/dbus-1/system.d/hostnamed-dbus.conf
-/etc/rc.d/dbus_daemon reload >> /dev/null