summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2004-07-08 13:40:33 +0000
committerbrian <brian@FreeBSD.org>2004-07-08 13:40:33 +0000
commit2821a50eaafae3e4c7204aef9e58c6f40d221bbb (patch)
treeebac46b3b358807a8144fabd366380413a43366c /sys/nfs4client
parent7c245468ef2fa07526f2540ec91012b5c7f4e9c8 (diff)
downloadFreeBSD-src-2821a50eaafae3e4c7204aef9e58c6f40d221bbb.zip
FreeBSD-src-2821a50eaafae3e4c7204aef9e58c6f40d221bbb.tar.gz
Change the following kernel options to environment variables:
BOOTP -> bootp BOOTP_NFSROOT -> bootp.nfsroot BOOTP_NFSV3 -> bootp.nfsv3 BOOTP_COMPAT -> bootp.compat BOOTP_WIRED_TO -> bootp.wired_to This lets you PXE boot with a GENERIC kernel by putting this sort of thing in loader.conf: bootp="YES" bootp.nfsroot="YES" bootp.nfsv3="YES" bootp.wired_to="bge1" or even setting the variables manually from the OK prompt.
Diffstat (limited to 'sys/nfs4client')
-rw-r--r--sys/nfs4client/nfs4_vfsops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c
index e20d176..c9b3e3c 100644
--- a/sys/nfs4client/nfs4_vfsops.c
+++ b/sys/nfs4client/nfs4_vfsops.c
@@ -62,7 +62,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_bootp.h"
#include "opt_nfsroot.h"
#include <sys/param.h>
OpenPOWER on IntegriCloud