summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorYehuda Katz <yehuda@ymkatz.net>2012-02-22 23:17:05 -0500
committerYehuda Katz <yehuda@ymkatz.net>2012-02-22 23:17:05 -0500
commit5e4d70a08270f842daff7c6167d9bad56fff593f (patch)
treeaf43729ad348325d2badd1dede3539eeaad88ad4 /usr/local/bin
parent1b9c5e4d0086b0285df3f4c5f51aa062fb584530 (diff)
downloadpfsense-5e4d70a08270f842daff7c6167d9bad56fff593f.zip
pfsense-5e4d70a08270f842daff7c6167d9bad56fff593f.tar.gz
Option to disable startup/shutdown sounds
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-xusr/local/bin/beep.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh
index 6f4e477..eeefc55 100755
--- a/usr/local/bin/beep.sh
+++ b/usr/local/bin/beep.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ -f /etc/disable_beep ]; then
+ exit;
+fi
+
# Standard note length
NOTELENGTH="25"
OpenPOWER on IntegriCloud