summarylogtreecommitdiffstats
path: root/mullvad-vpn.install
diff options
context:
space:
mode:
authorMark Wagie2022-02-14 09:03:03 -0700
committerMark Wagie2022-02-14 09:03:03 -0700
commita5fe971586e25aeac30ef834db78fa26d775df7b (patch)
treee197d1b7f3fbf3171793d22f1afc68adc2e1393c /mullvad-vpn.install
parent6f6d98820f1fbaefc9fc296d9b6c5a70aa14fdc2 (diff)
downloadaur-a5fe971586e25aeac30ef834db78fa26d775df7b.tar.gz
2022.1-beta1
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"
}