From fbf5e8ad7965e53a345469f32bbccf49b9220e75 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 30 Dec 2005 20:53:14 +0000 Subject: Check for /dev/speaker using -c --- usr/local/bin/beep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') 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 -- cgit v1.1