summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-06-11 17:22:20 +0000
committerBill Marquette <billm@pfsense.org>2005-06-11 17:22:20 +0000
commit538bb06f3494ae06b4059ada9a4640092967abcc (patch)
treec7b81f4086f488137a7fcc66cec5184e950354d2 /usr/local/www/system_advanced.php
parentf8c2f4f52dd4f77a9560daa51baf95da85eb3b2a (diff)
downloadpfsense-538bb06f3494ae06b4059ada9a4640092967abcc.zip
pfsense-538bb06f3494ae06b4059ada9a4640092967abcc.tar.gz
small cleanups
serial option now saves (still won't show if you go back into page for some reason)
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index d71ef3e..5ff36df 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -159,7 +159,7 @@ if ($_POST) {
$config['system']['disablerendevouz'] = $_POST['disablerendevouz'];
if ($_POST['enableserial'] == "yes")
- $config['system']['enableserial'] == "enabled";
+ $config['system']['enableserial'] = true;
else
unset($config['system']['enableserial']);
@@ -210,7 +210,7 @@ if ($_POST) {
fwrite($fout, $tty . "\n");
}
}
- if($pconfig['enableserial'] <> "")
+ if($pconfig['enableserial'])
fwrite($fout, "ttyv0\t\"/usr/libexec/getty Pc\"\tcons25\t\ton\tsecure\n");
fclose($fout);
@@ -220,7 +220,7 @@ if ($_POST) {
fwrite($fout, $blrc . "\n");
}
}
- if($pconfig['enableserial'] <> "")
+ if($pconfig['enableserial'])
fwrite($fout, "set console=comconsole\n");
fclose($fout);
@@ -266,7 +266,7 @@ function enable_altpkgconfigurl(enable_over) {
var descs=new Array(5);
descs[0]="as the name says, it's the normal optimization algorithm";
descs[1]="used for high latency links, such as satellite links. Expires idle connections later than default";
-descs[2]="expires idle connections quicker. more efficient use of CPU and memory but can drop legitimate connections";
+descs[2]="expires idle connections quicker. More efficient use of CPU and memory but can drop legitimate connections";
descs[3]="tries to avoid dropping any legitimate connections at the expense of increased memory usage and CPU utilization.";
function update_description(itemnum) {
OpenPOWER on IntegriCloud