diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-30 20:53:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-30 20:53:14 +0000 |
commit | fbf5e8ad7965e53a345469f32bbccf49b9220e75 (patch) | |
tree | 4be03faa6ef180240f5c296d43cccd8708e8cb74 /usr/local/bin | |
parent | 42080a5ae6e61c437fe503f4be68636ca5b6cdbd (diff) | |
download | pfsense-fbf5e8ad7965e53a345469f32bbccf49b9220e75.zip pfsense-fbf5e8ad7965e53a345469f32bbccf49b9220e75.tar.gz |
Check for /dev/speaker using -c
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-x | usr/local/bin/beep.sh | 2 |
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 |