diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/bin/beep.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh new file mode 100755 index 0000000..010786d --- /dev/null +++ b/usr/local/bin/beep.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ ! -x "`which beep`" ]; then + exit0 +fi + +if [ "$1" = "start" ]; then + beep -p 500 200 + beep -p 400 200 + beep -p 600 200 + beep -p 800 200 + beep -p 800 200 +fi +if [ "$1" = "stop" ]; then + beep -p 600 200 + beep -p 800 200 + beep -p 500 200 + beep -p 400 200 + beep -p 400 200 +fi + |