diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-05-13 09:18:10 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-05-13 09:18:10 -0300 |
commit | b45e428c79142192e56c0dcdb00dd49dcba6eee2 (patch) | |
tree | ec6012248aac5324d217b8e9407c4d8fdca55a0a /etc/inc/pfsense-utils.inc | |
parent | c8f7068d1aaccf4ca1d1f782704289e9519233dc (diff) | |
download | pfsense-b45e428c79142192e56c0dcdb00dd49dcba6eee2.zip pfsense-b45e428c79142192e56c0dcdb00dd49dcba6eee2.tar.gz |
No need to deal with hw.usb.no_pf anymore, it's part of default loader.conf
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index ed0fc80..f923e4e 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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"); } |