Project

General

Profile

« Previous | Next » 

Revision f5af0501

Added by Scott Ullrich over 17 years ago

Correctly deterimine if /boot/loader.conf exists.

View differences:

usr/local/bin/beep.sh
9 9
fi
10 10

  
11 11
# Check for different HZ 
12
if [ /boot/loader.conf ]; then
12
if [ -f /boot/loader.conf ]; then
13 13
	HZ=`cat /boot/loader.conf | grep kern.hz | wc -l | awk '{ print $1 }'`
14 14
	if [ "$HZ" = "1" ]; then
15 15
		NOTELENGTH="10"

Also available in: Unified diff