mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-03-31 06:27:54 +02:00
install: sysadmin laziness regarding partial unbound configuration
This commit is contained in:
parent
c6564b2962
commit
dd926c736f
7
install
7
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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user