diff options
Diffstat (limited to 'usr/local/bin/beep.sh')
-rwxr-xr-x | usr/local/bin/beep.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh index 7b58dce..99962af 100755 --- a/usr/local/bin/beep.sh +++ b/usr/local/bin/beep.sh @@ -1,17 +1,17 @@ #!/bin/sh # Standard note length -NOTELENGTH="200" +NOTELENGTH="25" # Embedded uses 100HZ if [ "$PFSENSETYPE" = "embedded" ]; then - NOTELENGTH="50" + NOTELENGTH="10" fi # Check for different HZ -HZ=`cat /boot/loader.conf | grep kern.hz | wc` +HZ=`cat /boot/loader.conf | grep kern.hz | wc -l | awk '{ print $1 }'` if [ "$HZ" = "1" ]; then - NOTELENGTH="50" + NOTELENGTH="10" fi if [ -c "/dev/speaker" ]; then |