diff options
author | Andrew Thompson <andrew@clonedev.co.nz> | 2011-08-17 14:12:27 +1200 |
---|---|---|
committer | Andrew Thompson <andrew@clonedev.co.nz> | 2011-08-17 14:12:27 +1200 |
commit | 3c6d704a4319878e0883a6177eda62a73a6f7871 (patch) | |
tree | 10e2851c1a33c67620c296211366aa25177d6ca8 /usr | |
parent | a26d95383a6146734f67c9db21cd83534052843a (diff) | |
download | pfsense-3c6d704a4319878e0883a6177eda62a73a6f7871.zip pfsense-3c6d704a4319878e0883a6177eda62a73a6f7871.tar.gz |
Revert "Make initial changes to allow pfSense to work in a jail."
This reverts commit a26d95383a6146734f67c9db21cd83534052843a.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/bin/beep.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/local/bin/beep.sh b/usr/local/bin/beep.sh index 6f4e477..febb222 100755 --- a/usr/local/bin/beep.sh +++ b/usr/local/bin/beep.sh @@ -9,11 +9,9 @@ if [ "$PFSENSETYPE" = "embedded" ]; then fi # this is super annoying in VMware, exit if in VMware -if [ -f /var/log/dmesg.boot ]; then - VMWCOUNT=`/usr/bin/grep -c VMware /var/log/dmesg.boot` - if [ $VMWCOUNT -gt 0 ]; then - exit; - fi +VMWCOUNT=`/usr/bin/grep -c VMware /var/log/dmesg.boot` +if [ $VMWCOUNT -gt 0 ]; then + exit; fi # Check for different HZ @@ -39,4 +37,4 @@ if [ -c "/dev/speaker" ]; then /usr/local/bin/beep -p 400 $NOTELENGTH /usr/local/bin/beep -p 400 $NOTELENGTH fi -fi +fi
\ No newline at end of file |