summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-01 18:31:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-01 18:31:10 +0000
commitfa94531eabae4ea27a0554bc699df7c2717356c1 (patch)
treeca837dcc89c3a535bbb5c04dfb6617ae1875008b /usr/local/bin
parent3a89b8d9fc726fc052e6c326fc58c19257b59aef (diff)
downloadpfsense-fa94531eabae4ea27a0554bc699df7c2717356c1.zip
pfsense-fa94531eabae4ea27a0554bc699df7c2717356c1.tar.gz
* Add beep binary.
* Add custom beep script which makes weird noises Requested-by: The Mob (support@)
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-xusr/local/bin/beep.sh21
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
+
OpenPOWER on IntegriCloud