#!/bin/bash set -eu set -o pipefail # OK, this is just one host, but it's still a decent indicator of when # the VPN disconnects me. while true do notify-when-up2 --no-email -i 10 -P -f "ping -c 5 usbnl-ngdp001.corp.blizzard.net" done