summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/networking
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-04-23 00:10:33 +0000
committerdteske <dteske@FreeBSD.org>2013-04-23 00:10:33 +0000
commit7d6b520e24dbe1a15467236a4698bf8535799ac9 (patch)
tree841bba3e741f23d636928fcb5f9515d01f316071 /usr.sbin/bsdconfig/networking
parent198c9cae20ce1a48fb63470b26db7a581e085567 (diff)
downloadFreeBSD-src-7d6b520e24dbe1a15467236a4698bf8535799ac9.zip
FreeBSD-src-7d6b520e24dbe1a15467236a4698bf8535799ac9.tar.gz
Prevent device.subr from auto-loading in the nameservers module.
This module doesn't need device support (but device.subr is loaded indirectly through media/tcpip.subr which contains resolv stuff).
Diffstat (limited to 'usr.sbin/bsdconfig/networking')
-rwxr-xr-xusr.sbin/bsdconfig/networking/nameservers3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/networking/nameservers b/usr.sbin/bsdconfig/networking/nameservers
index 1c2b7a0..aeda09e 100755
--- a/usr.sbin/bsdconfig/networking/nameservers
+++ b/usr.sbin/bsdconfig/networking/nameservers
@@ -28,6 +28,9 @@
#
############################################################ INCLUDES
+# Prevent device.subr (included indirectly) from auto scanning on load
+DEVICE_SELF_SCAN_ALL=NO
+
BSDCFG_SHARE="/usr/share/bsdconfig"
. $BSDCFG_SHARE/common.subr || exit 1
f_dprintf "%s: loading includes..." "$0"
OpenPOWER on IntegriCloud