From f5af050199d5b35a0bcfff7a93d3fddd73d2f33f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 5 Feb 2008 17:40:10 +0000 Subject: Correctly deterimine if /boot/loader.conf exists. --- usr/local/bin/beep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/bin') 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" -- cgit v1.1