summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-02 21:24:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-02 21:24:42 +0000
commite4c147db5ad071dd7e90e21c3aa389e46a95e83a (patch)
tree55fcf93c312aa5f405cdc025eb458911713423db /usr/local
parent4f890749c72aef4a5d9b9eb9a832b2f1c7035e00 (diff)
downloadpfsense-e4c147db5ad071dd7e90e21c3aa389e46a95e83a.zip
pfsense-e4c147db5ad071dd7e90e21c3aa389e46a95e83a.tar.gz
Full path to beep
Diffstat (limited to 'usr/local')
-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