diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-07-07 20:06:37 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-07-07 20:06:37 -0300 |
commit | 971de1f98a991a42c448415d34805d2970b86c4f (patch) | |
tree | 3c09598d67f04060af6113153c1995d804fb1244 /usr/local/www/widgets/include/thermal_sensors.inc | |
parent | 79cd8239ed8dd7d2dd0d86475b62ee25c5d5736d (diff) | |
download | pfsense-971de1f98a991a42c448415d34805d2970b86c4f.zip pfsense-971de1f98a991a42c448415d34805d2970b86c4f.tar.gz |
Convert almost all /sbin/sysctl calls to php functions
Diffstat (limited to 'usr/local/www/widgets/include/thermal_sensors.inc')
-rw-r--r-- | usr/local/www/widgets/include/thermal_sensors.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/include/thermal_sensors.inc b/usr/local/www/widgets/include/thermal_sensors.inc index 2ebc31d..e193b15 100644 --- a/usr/local/www/widgets/include/thermal_sensors.inc +++ b/usr/local/www/widgets/include/thermal_sensors.inc @@ -19,7 +19,7 @@ $thermal_sensors_widget_title = "Thermal Sensors"; //NOTE: depends on proper cofing in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section. function getThermalSensorsData() { - exec("/sbin/sysctl -a | grep temperature", $dfout); + $_gb = exec("/sbin/sysctl -a | grep temperature", $dfout); $thermalSensorsData = join("|", $dfout); return $thermalSensorsData; |