summaryrefslogtreecommitdiffstats
path: root/src/usr/local/bin/beep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/bin/beep.sh')
-rwxr-xr-xsrc/usr/local/bin/beep.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/bin/beep.sh b/src/usr/local/bin/beep.sh
index ed9382d..4a7cd59 100755
--- a/src/usr/local/bin/beep.sh
+++ b/src/usr/local/bin/beep.sh
@@ -1,8 +1,8 @@
#!/bin/sh
-BEEP=`/usr/bin/grep -c disablebeep /conf/config.xml`
-if [ $BEEP -gt 0 ]; then
+BEEP=$(/usr/local/sbin/read_xml_tag.sh boolean system/disablebeep)
+if [ "$BEEP" = "true" ]; then
exit;
fi
OpenPOWER on IntegriCloud