diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-21 04:19:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-21 04:19:18 +0000 |
commit | 4684dc58eded52c69708b9f3e80786e22d45ca98 (patch) | |
tree | d123e7bdf8287fa9af47710cd1bf84e0c309e866 /usr/local/www/index.php | |
parent | 404407ff24b89b7d08d49e527b7a78f610b7667f (diff) | |
download | pfsense-4684dc58eded52c69708b9f3e80786e22d45ca98.zip pfsense-4684dc58eded52c69708b9f3e80786e22d45ca98.tar.gz |
detect if we're operating on a net4801 from dmesg -a and activate the env monitor
Ticket #94
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-x | usr/local/www/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 25b4372..67b2a48 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -263,7 +263,8 @@ echo "<input style='border: 0px solid white;' size='30' name='swapusagemeter' id </tr> <?php /* XXX - Stub in the HW monitor for net4801 - needs to use platform var's once we start using them */ - if (file_exists("/etc/48xx")) { + $is4801 = `dmesg -a | grep NET4801`; + if($is4801 <> "") { echo " <tr>"; echo " <td width='25%' class='vncellt'>Temperature </td>"; echo " <td width='75%' class='listr'>"; |