From 691be23271ad80f26d612214abebc0249db73d23 Mon Sep 17 00:00:00 2001 From: observinglynx <93861792+observinglynx@users.noreply.github.com> Date: Sun, 7 Nov 2021 10:08:29 +0000 Subject: [PATCH] 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). --- docs/configuration/vpn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/vpn.md b/docs/configuration/vpn.md index 3f1bf86..0988cb8 100644 --- a/docs/configuration/vpn.md +++ b/docs/configuration/vpn.md @@ -284,9 +284,9 @@ Before proceeding, you will need to download a copy of your VPN provider's confi VPN_CLIENT='openvpn' 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 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.