summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-25 21:01:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-25 21:01:53 +0000
commitfaa571edd69297b70c6cd0eaaf088b857b45c8d7 (patch)
treee903e3079b913341f1b42ae23282aaf881bdbff3
parentf1572d4aef180ca6d35acc4e1e6cc8111943cb03 (diff)
downloadpfsense-faa571edd69297b70c6cd0eaaf088b857b45c8d7.zip
pfsense-faa571edd69297b70c6cd0eaaf088b857b45c8d7.tar.gz
Only show enable serial port option on pfSense and crom platforms
-rwxr-xr-xusr/local/www/system_advanced.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 7708cbe..d8815c3 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -244,6 +244,7 @@ function update_description(itemnum) {
<table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <?php if($g['platform'] == "pfSense" or if($g['platform'] == "cdrom": ?>
<tr>
<td colspan="2" valign="top" class="listtopic">Enable Serial Console</td>
</tr>
@@ -254,19 +255,8 @@ function update_description(itemnum) {
<strong>This will enable the first serial port with 9600/8/N/1</strong>
</td>
</tr>
+ <?php endif ?>
-<!--
- <tr>
- <td colspan="2" valign="top" class="listtopic">Disable Rendezvous</td>
- </tr>
- <tr>
- <td width="22%" valign="top" class="vncell">&nbsp;</td>
- <td width="78%" class="vtable">
- <input name="disablerendevouz" type="checkbox" id="disablerendevouz" value="yes" <?php if ($pconfig['disablerendevouz']) echo "checked"; ?> onclick="enable_change(false)">
- <strong>Disable the Rendevouz automatic discovery protocol.</strong>
- </td>
- </tr>
--->
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
OpenPOWER on IntegriCloud