mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 10:42:55 +01:00
root's crontab: add workaround for sysctl.d reading, fix typo, add output to /dev/null for a noisy command
This commit is contained in:
parent
0d4c40ba16
commit
57250d893d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user