diff options
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-x | usr/local/bin/beep.sh | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh index 010786d..9001abf 100755 --- a/usr/local/bin/beep.sh +++ b/usr/local/bin/beep.sh @@ -1,21 +1,17 @@ #!/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 + /usr/local/bin/beep -p 500 200 + /usr/local/bin/beep -p 400 200 + /usr/local/bin/beep -p 600 200 + /usr/local/bin/beep -p 800 200 + /usr/local/bin/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 + /usr/local/bin/beep -p 600 200 + /usr/local/bin/beep -p 800 200 + /usr/local/bin/beep -p 500 200 + /usr/local/bin/beep -p 400 200 + /usr/local/bin/beep -p 400 200 fi |