No need to deal with hw.usb.no_pf anymore, it's part of default loader.conf

This commit is contained in:
Renato Botelho 2015-05-13 09:18:10 -03:00
parent c8f7068d1a
commit b45e428c79
2 changed files with 1 additions and 4 deletions

View File

@ -4,4 +4,3 @@ autoboot_delay="5"
beastie_disable="YES"
vm.kmem_size="435544320"
vm.kmem_size_max="535544320"
hw.usb.no_pf="1"

View File

@ -1042,8 +1042,7 @@ function setup_serial_port($when="save", $path="") {
if (!empty($bcs) &&
(stripos($bcs, "console") === false) &&
(stripos($bcs, "boot_multicons") === false) &&
(stripos($bcs, "boot_serial") === false) &&
(stripos($bcs, "hw.usb.no_pf") === false)) {
(stripos($bcs, "boot_serial") === false)) {
$new_boot_config[] = $bcs;
}
}
@ -1065,7 +1064,6 @@ function setup_serial_port($when="save", $path="") {
}
}
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"';
$new_boot_config[] = 'hw.usb.no_pf="1"';
file_put_contents($loader_conf_file, implode("\n", $new_boot_config) . "\n");
}