Projet

Général

Profil

« Précédent | Suivant » 

Révision 4887afa1

Ajouté par Renato Botelho il y a presque 10 ans

Set default serial speed to 115200 for 2.2, fixes #3715

Voir les différences:

usr/local/www/system_advanced_admin.php
539 539
								<td width="22%" valign="top" class="vncell"><?=gettext("Serial Terminal"); ?></td>
540 540
								<td width="78%" class="vtable">
541 541
									<input name="enableserial" type="checkbox" id="enableserial" value="yes" <?php if (isset($pconfig['enableserial'])) echo "checked=\"checked\""; ?> />
542
									<strong><?=gettext("Enables the first serial port with 9600/8/N/1 by default, or another speed selectable below."); ?></strong>
542
									<strong><?=gettext("Enables the first serial port with 115200/8/N/1 by default, or another speed selectable below."); ?></strong>
543 543
									<span class="vexpl"><?=gettext("Note:  This will redirect the console output and messages to the serial port. You can still access the console menu from the internal video card/keyboard. A <b>null modem</b> serial cable or adapter is required to use the serial console."); ?></span>
544 544
								</td>
545 545
							</tr>
......
548 548
								<td width="22%" valign="top" class="vncell"><?=gettext("Serial Speed")?></td>
549 549
								<td width="78%" class="vtable">
550 550
									<select name="serialspeed" id="serialspeed" class="formselect">
551
										<option value="9600"   <?php if ($pconfig['serialspeed'] == "9600")   echo "selected=\"selected\"";?>>9600</option>
552
										<option value="14400"  <?php if ($pconfig['serialspeed'] == "14400")  echo "selected=\"selected\"";?>>14400</option>
553
										<option value="19200"  <?php if ($pconfig['serialspeed'] == "19200")  echo "selected=\"selected\"";?>>19200</option>
554
										<option value="38400"  <?php if ($pconfig['serialspeed'] == "38400")  echo "selected=\"selected\"";?>>38400</option>
555
										<option value="57600"  <?php if ($pconfig['serialspeed'] == "57600")  echo "selected=\"selected\"";?>>57600</option>
556 551
										<option value="115200" <?php if ($pconfig['serialspeed'] == "115200") echo "selected=\"selected\"";?>>115200</option>
552
										<option value="57600"  <?php if ($pconfig['serialspeed'] == "57600")  echo "selected=\"selected\"";?>>57600</option>
553
										<option value="38400"  <?php if ($pconfig['serialspeed'] == "38400")  echo "selected=\"selected\"";?>>38400</option>
554
										<option value="19200"  <?php if ($pconfig['serialspeed'] == "19200")  echo "selected=\"selected\"";?>>19200</option>
555
										<option value="14400"  <?php if ($pconfig['serialspeed'] == "14400")  echo "selected=\"selected\"";?>>14400</option>
556
										<option value="9600"   <?php if ($pconfig['serialspeed'] == "9600")   echo "selected=\"selected\"";?>>9600</option>
557 557
									</select> bps
558 558
									<br /><?=gettext("Allows selection of different speeds for the serial console port."); ?>
559 559
								</td>

Formats disponibles : Unified diff