mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-28 06:09:22 +01:00
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
# Workaround it appearing to break SSH especially on family PC
|
|
@reboot /bin/bash -c "/bin/nordvpn set killswitch off;/usr/bin/systemctl disable --now nordvpnd.{service.socket} --quiet"
|
|
|
|
# Ensure /etc/sysctl.d/ gets read
|
|
@reboot /usr/sbin/sysctl -p --system >/dev/null 2>&1
|
|
|
|
# Ensure we really allow ICMPv6 on FEDORA
|
|
@reboot /usr/bin/firewall-cmd --add-protocol=ipv6-icmp >/dev/null 2>&1
|
|
|
|
# 3rd party Xbox controller initialization. See Mikaela/gist/gayming/
|
|
@reboot /root/fixcontroller.py
|
|
|
|
# BTRFS deduplication (on Lumina at least)
|
|
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/home.hash /home
|
|
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
|
|
@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 >/dev/null 2>&1
|
|
@reboot /usr/bin/sleep 315 && /usr/bin/systemctl restart yggdrasil.service --quiet
|
|
|
|
# vim: filetype=crontab
|