summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-24 21:11:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-24 21:11:23 +0000
commite46fcd80b8d71762cce872e56fb7a6cf41fee5a9 (patch)
tree521d955ce8cb2890725ab70331fa3b0c7d716eba /usr
parent2094568ac81e1907216aa0cab413c9d95a57ae58 (diff)
downloadpfsense-e46fcd80b8d71762cce872e56fb7a6cf41fee5a9.zip
pfsense-e46fcd80b8d71762cce872e56fb7a6cf41fee5a9.tar.gz
Remove notorius loader.rc code. This was the source of the million line lodaer.rc. Beauty.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_advanced.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 40d828b..ef71a9e 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -200,7 +200,7 @@ if ($_POST) {
config_unlock();
$etc_ttys = return_filename_as_array("/etc/ttys");
- $boot_loader_rc = return_filename_as_array("/boot/loader.rc");
+
conf_mount_rw();
@@ -219,18 +219,6 @@ if ($_POST) {
fclose($fout);
}
- $fout = fopen("/boot/loader.rc","w");
- if(!is_array($boot_loader_rc))
- $boot_loader_rc = array();
- foreach($boot_loader_rc as $blrc) {
- if(stristr($blrc,"comconsole") <> true) {
- fwrite($fout, $blrc . "\n");
- }
- }
- if(isset($pconfig['enableserial']))
- fwrite($fout, "set console=comconsole\n");
- fclose($fout);
-
mwexec("/etc/sshd");
conf_mount_ro();
OpenPOWER on IntegriCloud