summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.rc/playbeep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot.rc/playbeep.sh')
-rw-r--r--packages/altboot/files/altboot.rc/playbeep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/altboot/files/altboot.rc/playbeep.sh b/packages/altboot/files/altboot.rc/playbeep.sh
index 6cc5b8bcdf..9ef6a0c41b 100644
--- a/packages/altboot/files/altboot.rc/playbeep.sh
+++ b/packages/altboot/files/altboot.rc/playbeep.sh
@@ -6,7 +6,7 @@
# Filename: playbeep.sh
# Date: 12-Apr-06
-if test -x /usr/sbin/alsactl -a -e /etc/modules
+if test -x /usr/sbin/alsactl -a -e /etc/modules -a "$ENABLE_SOUND" = yes
then
for module in `cat /etc/modules | grep snd | grep -v ^#`
do