Update daemon to 2026.3-beta1 and make scripts less "presumptous"
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user