Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (9 loc) · 531 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 531 Bytes

vpn-auto-reconnect

A simple bash script for keeping an interface up, such as a vpn.

At the time of this writing, there's no known reconnection daemon or option for Fedora or the NetworkManager service that I can find. You can specify to "auto connect" however, that's not the same as reconnecting.

You can take this simple script and add a cron like:

*/5 * * * * /usr/bin/vpn-auto-reconnect >> /var/log/messages 2>&1

Feel free to fork/merge request if for some reason you want to make this better. ;)