Update daemon to 2026.3-beta1 and make scripts less "presumptous"

This commit is contained in:
2026-05-20 10:01:23 +02:00
parent 045f20a120
commit ffd762550b
8 changed files with 23 additions and 57 deletions

View File

@@ -1,9 +1,8 @@
#!/bin/sh
set -eu
# Enable and start systemd services
if which systemctl >/dev/null 2>&1 && systemctl is-system-running | grep -vq offline >/dev/null 2>&1; then
systemctl enable "/usr/lib/systemd/system/mullvad-daemon.service"
systemctl start mullvad-daemon.service || echo "Failed to start mullvad-daemon.service"
systemctl enable "/usr/lib/systemd/system/mullvad-early-boot-blocking.service"
fi
echo '>>> To start Mullvad VPN, enable the daemon:'
echo ' systemctl enable --now mullvad-daemon.service'
echo ''
echo '>>> Optional: block network until VPN is up at boot:'
echo ' systemctl enable mullvad-early-boot-blocking.service'