summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes/functions.inc.php
diff options
context:
space:
mode:
authorJoecowboy <i7wasn7m3@gmail.com>2012-01-06 10:34:33 -0600
committerJoecowboy <i7wasn7m3@gmail.com>2012-01-06 10:34:33 -0600
commite9ca9b9a35c5e7c9c2fb6025c54da420d901cc49 (patch)
treec402e30fb8f064d9ae3d276c691adf28623eea18 /usr/local/www/includes/functions.inc.php
parentb10268ca95b930ca2bda29016fcb32ec8eb7aa3e (diff)
downloadpfsense-e9ca9b9a35c5e7c9c2fb6025c54da420d901cc49.zip
pfsense-e9ca9b9a35c5e7c9c2fb6025c54da420d901cc49.tar.gz
I did a block comment out the fist time because I wanted to leave that code in for later use when start adding more OID checks for different hardware drivers. So made comment change per request.
Diffstat (limited to 'usr/local/www/includes/functions.inc.php')
-rw-r--r--usr/local/www/includes/functions.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php
index 961f925..8ceea4d 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -160,12 +160,12 @@ function get_hwtype() {
}
function get_temp() {
- /*switch(get_hwtype()) {
- default:
- return;
- }
-
- return $ret; */
+// switch(get_hwtype()) {
+// default:
+// return;
+// }
+//
+// return $ret;
$temp_out = "";
exec("/sbin/sysctl dev.cpu.0.temperature | /usr/bin/awk '{ print $2 }' | /usr/bin/cut -d 'C' -f 1", $dfout);
OpenPOWER on IntegriCloud