summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-01 13:56:52 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-02-01 13:57:59 -0200
commit25c088de57be43155d7f7df202f800016d5f515d (patch)
tree584537fd29f573f5eb392806d1314fdf71b88342
parent69efe7c67f252680d36e5e36698cd899a663c0d2 (diff)
downloadpfsense-25c088de57be43155d7f7df202f800016d5f515d.zip
pfsense-25c088de57be43155d7f7df202f800016d5f515d.tar.gz
Hide usbus# from interfaces list. Fixes #2306
-rw-r--r--etc/inc/pfsense-utils.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 6219793..b8d779d 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1019,6 +1019,9 @@ function setup_serial_port($when="save", $path="") {
} elseif ($g['platform'] == "nanobsd") {
$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");
}
}
OpenPOWER on IntegriCloud