mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 11:13:04 +03:00
fix(vpn): do not rely on sudoers
This commit is contained in:
parent
b43974d7e0
commit
04a9357ce8
2 changed files with 2 additions and 2 deletions
2
Guix.org
2
Guix.org
|
|
@ -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+
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue