Move systemd stuff out of pre-deinstall

This commit is contained in:
Joakim Hulthe
2026-04-23 15:25:50 +02:00
parent 6b66146b2a
commit 8c8579b3f6
5 changed files with 15 additions and 11 deletions

View File

@@ -1,11 +1,5 @@
#!/bin/sh
set -eu
# the user might've disabled or stopped the service themselves already
systemctl stop mullvad-daemon.service || true
systemctl disable mullvad-daemon.service || true
systemctl stop mullvad-early-boot-blocking.service || true
systemctl disable mullvad-early-boot-blocking.service || true
mullvad-setup reset-firewall || echo "Failed to reset firewall"
mullvad-setup remove-device || echo "Failed to remove device from account"