summaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@clonedev.co.nz>2011-08-17 14:12:27 +1200
committerAndrew Thompson <andrew@clonedev.co.nz>2011-08-17 14:12:27 +1200
commit3c6d704a4319878e0883a6177eda62a73a6f7871 (patch)
tree10e2851c1a33c67620c296211366aa25177d6ca8 /usr/local/bin
parenta26d95383a6146734f67c9db21cd83534052843a (diff)
downloadpfsense-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/local/bin')
-rwxr-xr-xusr/local/bin/beep.sh10
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
OpenPOWER on IntegriCloud