summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-xusr/local/bin/beep.sh24
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
OpenPOWER on IntegriCloud