mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-23 06:09:29 -05: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)
|
down)
|
||||||
su - -c 'notify-send "$(hostname): LINK IS DOWN !" --icon=dialog-error' user
|
su - -c 'notify-send "$(hostname): LINK IS DOWN !" --icon=dialog-error' user
|
||||||
|
|
||||||
|
# Restart the VPN automatically
|
||||||
|
sleep 5s
|
||||||
|
sudo /rw/config/rc.local
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
~~~
|
~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user