summarylogtreecommitdiffstats
path: root/mullvad-vpn.install
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-vpn.install')
-rw-r--r--mullvad-vpn.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/mullvad-vpn.install b/mullvad-vpn.install
index 4f347b86666b..0c044d13fbcd 100644
--- a/mullvad-vpn.install
+++ b/mullvad-vpn.install
@@ -38,6 +38,8 @@ pre_remove() {
systemctl stop mullvad-daemon || true
systemctl disable mullvad-daemon || true
+ pkill -x "mullvad-gui" || true
+
/opt/Mullvad\ VPN/resources/mullvad-setup reset-firewall || echo "Failed to reset firewall"
/opt/Mullvad\ VPN/resources/mullvad-setup clear-history || echo "Failed to remove leftover WireGuard keys"
}