summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-06-20 21:43:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-06-20 21:43:29 +0000
commit19604f5d9680dad1a5e12d1bea8d7e5aa9f37193 (patch)
tree927337e35b2719ca5dd8bece972814dd07ac1b6e /usr/local
parent252052a81c2cfc87b1707628f806ad5034885911 (diff)
downloadpfsense-19604f5d9680dad1a5e12d1bea8d7e5aa9f37193.zip
pfsense-19604f5d9680dad1a5e12d1bea8d7e5aa9f37193.tar.gz
Remove 4801 temp monitoring binary.
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/includes/functions.inc.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php
index dc58e9c..38f4b14 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -86,12 +86,9 @@ function get_pfstate() {
}
function has_temp() {
- if(`/sbin/dmesg -a | /usr/bin/grep net4801` <> "") {
- /* Initialize hw monitor */
- exec("/usr/local/sbin/env4801 -i");
- return true;
- }
+ /* no known temp monitors available at present */
+
/* should only reach here if there is no hardware monitor */
return false;
}
@@ -107,7 +104,6 @@ function get_hwtype() {
function get_temp() {
switch(get_hwtype()) {
case '4801':
- $ret = rtrim(`/usr/local/sbin/env4801 | /usr/bin/grep Temp |/usr/bin/cut -c24-25`);
break;
default:
return;
OpenPOWER on IntegriCloud