mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-22 21:59:26 -05: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
@ -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…
Reference in New Issue
Block a user