mirror of
https://github.com/Qubes-Community/Contents.git
synced 2025-07-14 10:19:40 -04:00
Move notifications after vpn initialization
This fixes the notifications timeout issue at first boot but have not tested any further (what happens if no connection etc).
This commit is contained in:
parent
78c00a1b46
commit
691be23271
1 changed files with 1 additions and 1 deletions
|
@ -284,9 +284,9 @@ Before proceeding, you will need to download a copy of your VPN provider's confi
|
||||||
VPN_CLIENT='openvpn'
|
VPN_CLIENT='openvpn'
|
||||||
VPN_OPTIONS='--cd /rw/config/vpn/ --config openvpn-client.ovpn --daemon'
|
VPN_OPTIONS='--cd /rw/config/vpn/ --config openvpn-client.ovpn --daemon'
|
||||||
|
|
||||||
su - -c 'notify-send "$(hostname): Starting $VPN_CLIENT..." --icon=network-idle' user
|
|
||||||
groupadd -rf qvpn ; sleep 2s
|
groupadd -rf qvpn ; sleep 2s
|
||||||
sg qvpn -c "$VPN_CLIENT $VPN_OPTIONS"
|
sg qvpn -c "$VPN_CLIENT $VPN_OPTIONS"
|
||||||
|
su - -c 'notify-send "$(hostname): Starting $VPN_CLIENT..." --icon=network-idle' user
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
If you are using anything other than OpenVPN, change the `VPN_CLIENT` and `VPN_OPTIONS` variables to match your VPN software.
|
If you are using anything other than OpenVPN, change the `VPN_CLIENT` and `VPN_OPTIONS` variables to match your VPN software.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue