From 57250d893db4cc387f88456a58b101174a358e7f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 12 Apr 2024 12:01:25 +0300 Subject: [PATCH] root's crontab: add workaround for sysctl.d reading, fix typo, add output to /dev/null for a noisy command --- var/spool/cron/root | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/var/spool/cron/root b/var/spool/cron/root index 1e655d5..5f9e883 100644 --- a/var/spool/cron/root +++ b/var/spool/cron/root @@ -1,3 +1,6 @@ +# Ensure /etc/sysctl.d/ gets read +@reboot /usr/sbin/sysctl -p --system >/dev/null 2>&1 + # 3rd party Xbox controller initialization. See Mikaela/gist/gayming/ @reboot /root/fixcontroller.py @@ -7,7 +10,7 @@ @reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd # Another attempt at ensuring Yggdrasil works with nordvpnd -@reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 -@reboot /usr/bin/sleep 315 && /usr/bin/systemctl systemctl restart yggdrasil.service --quiet +@reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 >/dev/null 2>&1 +@reboot /usr/bin/sleep 315 && /usr/bin/systemctl restart yggdrasil.service --quiet # vim: filetype=crontab