fix(vpn): do not rely on sudoers

This commit is contained in:
Pavel Korytov 2023-08-21 11:22:02 +03:00
parent b43974d7e0
commit 04a9357ce8
2 changed files with 2 additions and 2 deletions

View file

@ -664,7 +664,7 @@ if [[ $(hostname) == 'iris' ]]; then
VPN_FILE=~/.vpn/mullvad_openvpn_linux_se_all/mullvad_se_all.conf
fi
echo $VPN_FILE
sudo openvpn --config $VPN_FILE
pkexec openvpn --config $VPN_FILE
#+end_src
*** +vpn-stop+

View file

@ -21,5 +21,5 @@ if [[ $(hostname) == 'iris' ]]; then
VPN_FILE=~/.vpn/mullvad_openvpn_linux_se_all/mullvad_se_all.conf
fi
echo $VPN_FILE
sudo openvpn --config $VPN_FILE
pkexec openvpn --config $VPN_FILE
# vpn-start:1 ends here