A simple bash script for checking and restarting local network connections