blob: fc27f787ae4b14d8b933564217257737663d78e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env bash
set -eu
if which systemctl &> /dev/null; then
if systemctl status mullvad-daemon &> /dev/null; then
/opt/Mullvad\ VPN/resources/mullvad-setup prepare-restart || true
systemctl stop mullvad-daemon.service
systemctl disable mullvad-daemon.service
fi
fi
pkill -x "mullvad-gui" || true
rm -f /var/cache/mullvad-vpn/relays.json
|