aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-06-07 15:45:04 +0800
committerkremlin <ian@kremlin.cc>2014-06-07 15:45:04 +0800
commitae8c7a354212cff5c56d135992b5d753ff27664a (patch)
treefea4fe515b4a8f1beeb94c2e359d3bf2f2127047
parent1cd91c9ccc0301e155901f137decbb0e1fcd93ea (diff)
downloadsystembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar.gz
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar.bz2
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar.lz
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar.xz
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.tar.zst
systembsd-ae8c7a354212cff5c56d135992b5d753ff27664a.zip
XML configs will be either compiled in (default) or installed (flagged), rm workarounds
-rw-r--r--hacks/hostnamed-dbus.conf10
-rwxr-xr-xhacks/punch_config.sh8
-rwxr-xr-xhacks/unpunch_config.sh7
3 files changed, 0 insertions, 25 deletions
diff --git a/hacks/hostnamed-dbus.conf b/hacks/hostnamed-dbus.conf
deleted file mode 100644
index c84c0f3..0000000
--- a/hacks/hostnamed-dbus.conf
+++ /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
index 611250d..0000000
--- a/hacks/punch_config.sh
+++ /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
index 076c353..0000000
--- a/hacks/unpunch_config.sh
+++ /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