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,6 @@
#!/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
# Mark systemd service for restart
systemctl set-property mullvad-daemon.service Markers=+needs-restart \
|| echo "Failed to mark mullvad-daemon for restart"