diff --git a/calendar-run.sh b/calendar-run.sh index 46f84ea..8016abb 100755 --- a/calendar-run.sh +++ b/calendar-run.sh @@ -49,6 +49,10 @@ set -e /usr/bin/git status > /dev/null # Make sure machine is up. set -e will ensure that. +if [ -f $HOME/.shoddy-network ]; then + exit 0 +fi + /bin/ping -q -w 20 -c 5 $HOME_MACHINE > /dev/null 2>&1 cd ~/calendars/personal/private/bkuhn