diff options
author | Bill Marquette <billm@pfsense.org> | 2005-06-11 17:22:20 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-06-11 17:22:20 +0000 |
commit | 538bb06f3494ae06b4059ada9a4640092967abcc (patch) | |
tree | c7b81f4086f488137a7fcc66cec5184e950354d2 /usr/local/www | |
parent | f8c2f4f52dd4f77a9560daa51baf95da85eb3b2a (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/system_advanced.php | 8 |
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) { |