summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/beep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/bin/beep.sh')
-rwxr-xr-xusr/local/bin/beep.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh
index 6f4e477..0158244 100755
--- a/usr/local/bin/beep.sh
+++ b/usr/local/bin/beep.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+
+BEEP=`/usr/bin/grep -c disablebeep /conf/config.xml`
+if [ $BEEP -gt 0 ]; then
+ exit;
+fi
+
# Standard note length
NOTELENGTH="25"
OpenPOWER on IntegriCloud