diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-05 17:40:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-05 17:40:10 +0000 |
commit | f5af050199d5b35a0bcfff7a93d3fddd73d2f33f (patch) | |
tree | a6c7fe6035a01bf197dd28468fc541a31ffebb40 /usr/local/bin | |
parent | c9c9ad4a8d2847537c7ef7b376b94fdcbab84e1f (diff) | |
download | pfsense-f5af050199d5b35a0bcfff7a93d3fddd73d2f33f.zip pfsense-f5af050199d5b35a0bcfff7a93d3fddd73d2f33f.tar.gz |
Correctly deterimine if /boot/loader.conf exists.
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 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" |