diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-21 15:43:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-21 15:43:49 +0000 |
commit | 5c50ae405e0617c36cbe888b8de204e4948403f4 (patch) | |
tree | be5fab1381dabe7152ce05a75d593a991dfea7be /usr/local/www/system_advanced.php | |
parent | 91e58a1a5dc30a1065f636183bf96739a0a7bffc (diff) | |
download | pfsense-5c50ae405e0617c36cbe888b8de204e4948403f4.zip pfsense-5c50ae405e0617c36cbe888b8de204e4948403f4.tar.gz |
* Add back disable firmware check.
* Redirect to system_firmware.php if the firmware check is disabled
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-x | usr/local/www/system_advanced.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index a8b7bdc..d9a5b40 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -50,6 +50,7 @@ $pconfig['schedulertype'] = $config['system']['schedulertype']; $pconfig['maximumstates'] = $config['system']['maximumstates']; $pconfig['disablerendevouz'] = $config['system']['disablerendevouz']; $pconfig['enableserial'] = $config['system']['enableserial']; +$pconfig['disablefirmwarecheck'] = isset($config['system']['disablefirmwarecheck']); if ($_POST) { @@ -119,7 +120,10 @@ if ($_POST) { else unset($config['system']['webgui']['expanddiags']); $config['system']['optimization'] = $_POST['optimization']; - $config['system']['disablerendevouz'] = $_POST['disablerendevouz']; + + if($_POST['disablefirmwarecheck'] == "yes") + $config['system']['disablefirmwarecheck'] = true; + else if ($_POST['enableserial'] == "yes") $config['system']['enableserial'] = true; @@ -325,6 +329,12 @@ function update_description(itemnum) { Changes to this option will take effect after a reboot.</span></td> </tr> <tr> + <td valign="top" class="vncell">Firmware version check </td> + <td class="vtable"> + <input name="disablefirmwarecheck" type="checkbox" id="disablefirmwarecheck" value="yes" <?php if ($pconfig['disablefirmwarecheck']) echo "checked"; ?>> + <strong>Disable firmware version check</strong><span class="vexpl"><br>This will cause pfSense not to check for newer firmware versions when the <a href="system_firmware.php">System: Firmware</a> page is viewed.</span></td> + </tr> + <tr> <td width="22%" valign="top" class="vncell">Hard disk standby time </td> <td width="78%" class="vtable"> <select name="harddiskstandby" class="formfld"> |