Skip to content

Instantly share code, notes, and snippets.

@mscalora
Created November 3, 2015 16:09
Show Gist options
  • Save mscalora/e6d1dd37601aa6525500 to your computer and use it in GitHub Desktop.
Save mscalora/e6d1dd37601aa6525500 to your computer and use it in GitHub Desktop.
#! /usr/bin/env bash
until ping -c 1 10.10.10.200 ; do echo "Waiting 1 min" ; sleep 60 ; done
# MacOS play sounds:
for f in /System/Library/Sounds/*.aiff ; do echo $f ; afplay $f ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment