From 3c6d704a4319878e0883a6177eda62a73a6f7871 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 17 Aug 2011 14:12:27 +1200 Subject: Revert "Make initial changes to allow pfSense to work in a jail." This reverts commit a26d95383a6146734f67c9db21cd83534052843a. --- usr/local/bin/beep.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'usr/local/bin') 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 -- cgit v1.1