mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-10-01 01:05:51 -04:00
Merge pull request #136 from kakooloukia/patch-1
Auto reconnect VPN if disconnected
This commit is contained in:
commit
e64695800b
@ -207,6 +207,10 @@ Before proceeding, you will need to download a copy of your VPN provider's confi
|
||||
;;
|
||||
down)
|
||||
su - -c 'notify-send "$(hostname): LINK IS DOWN !" --icon=dialog-error' user
|
||||
|
||||
# Restart the VPN automatically
|
||||
sleep 5s
|
||||
sudo /rw/config/rc.local
|
||||
;;
|
||||
esac
|
||||
~~~
|
||||
|
Loading…
Reference in New Issue
Block a user