summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/bin/beep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh
index 9efdd25..916d11a 100755
--- a/usr/local/bin/beep.sh
+++ b/usr/local/bin/beep.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ -f "/dev/speaker" ]; then
+if [ -c "/dev/speaker" ]; then
if [ "$1" = "start" ]; then
/usr/local/bin/beep -p 500 200
OpenPOWER on IntegriCloud