mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
No need to deal with hw.usb.no_pf anymore, it's part of default loader.conf
This commit is contained in:
parent
c8f7068d1a
commit
b45e428c79
@ -4,4 +4,3 @@ autoboot_delay="5"
|
||||
beastie_disable="YES"
|
||||
vm.kmem_size="435544320"
|
||||
vm.kmem_size_max="535544320"
|
||||
hw.usb.no_pf="1"
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user