From dd926c736f7e751d6a72a64c4ac893660ead20c4 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 30 Mar 2026 09:25:42 +0300 Subject: [PATCH] install: sysadmin laziness regarding partial unbound configuration --- install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install b/install index 5fb3e854..440e280b 100755 --- a/install +++ b/install @@ -318,6 +318,13 @@ if [ "$(id -u)" == "0" ]; then # STRANGE BEHAVIOUR WARNING IF NOT ME. cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.service /etc/systemd/system/ cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/ + if [ -d /etc/unbound/conf.d ]; then + cp -v etc/unbound/unbound.conf.d/{blocklist,cache-size,expired-stale-serving-rfc8767,local-tlds,logging,min-ttl-hour,please-hijack-me,prefer-ip6}.conf /etc/unbound/conf.d/ + chmod -v a+r /etc/unbound/conf.d/*.conf + elif [ -d /etc/unbound/unbound.conf.d ]; then + cp -v etc/unbound/unbound.conf.d/{blocklist,cache-size,expired-stale-serving-rfc8767,local-tlds,logging,min-ttl-hour,please-hijack-me,prefer-ip6}.conf /etc/unbound/unbound.conf.d/ + chmod -v a+r /etc/unbound/unbound.conf.d/*.conf + fi # This is now how I assume Kinoite if [ -f /usr/etc/rpm-ostreed.conf ]; then cp -v etc/systemd/system/{aminda-duperemove,monthly-btrfs-balance}.service /etc/systemd/system/