crontab: workaround nordvpn breaking ssh remotely

This commit is contained in:
Aminda Suomalainen 2024-07-23 12:45:16 +03:00
parent 28b72a211a
commit d98b2ebd22
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,3 +1,6 @@
# 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