summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-30 20:53:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-30 20:53:14 +0000
commitfbf5e8ad7965e53a345469f32bbccf49b9220e75 (patch)
tree4be03faa6ef180240f5c296d43cccd8708e8cb74 /usr/local/bin
parent42080a5ae6e61c437fe503f4be68636ca5b6cdbd (diff)
downloadpfsense-fbf5e8ad7965e53a345469f32bbccf49b9220e75.zip
pfsense-fbf5e8ad7965e53a345469f32bbccf49b9220e75.tar.gz
Check for /dev/speaker using -c
Diffstat (limited to 'usr/local/bin')
-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