diff options
-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 efb06c9..8344ed1 100755 --- a/usr/local/bin/beep.sh +++ b/usr/local/bin/beep.sh @@ -9,7 +9,7 @@ if [ "$PFSENSETYPE" = "embedded" ]; then fi # Check for different HZ -if [ /boot/loader.conf ]; then +if [ -f /boot/loader.conf ]; then HZ=`cat /boot/loader.conf | grep kern.hz | wc -l | awk '{ print $1 }'` if [ "$HZ" = "1" ]; then NOTELENGTH="10" |