added scripts to place config files, added a note in source about that
[systembsd.git] / hacks / punch_config.sh
1 #!/bin/sh
2
3 # sticks our config for hostnamed (which needs to use the system bus)
4 # in place. and restarts dbus-daemon will be replaced by a more elegant,
5 # not-hack in the future
6
7 cp $(dirname "$(readlink -f "$0")")/hostnamed-dbus.conf /etc/dbus-1/system.d/hostnamed-dbus.conf
8 /etc/rc.d/dbus_daemon reload >> /dev/null