diff options
author | brian <brian@FreeBSD.org> | 2004-07-08 13:40:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-07-08 13:40:33 +0000 |
commit | 2821a50eaafae3e4c7204aef9e58c6f40d221bbb (patch) | |
tree | ebac46b3b358807a8144fabd366380413a43366c /sys/conf | |
parent | 7c245468ef2fa07526f2540ec91012b5c7f4e9c8 (diff) | |
download | FreeBSD-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/conf')
-rw-r--r-- | sys/conf/NOTES | 9 | ||||
-rw-r--r-- | sys/conf/files | 4 | ||||
-rw-r--r-- | sys/conf/options | 5 |
3 files changed, 3 insertions, 15 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index fd1b42a..e1cbcad 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2124,14 +2124,7 @@ device pps device lpbb device pcfclock -# Kernel BOOTP support - -options BOOTP # Use BOOTP to obtain IP address/hostname - # Requires NFSCLIENT and NFS_ROOT -options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info -options BOOTP_NFSV3 # Use NFS v3 to NFS mount root -options BOOTP_COMPAT # Workaround for broken bootp daemons. -options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP +# Kernel BOOTP support - see loader(8) # # Add tie-ins for a hardware watchdog. This only enables the hooks; diff --git a/sys/conf/files b/sys/conf/files index 7237d64..1638778 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1573,8 +1573,8 @@ netsmb/smb_trantcp.c optional netsmb netsmb/smb_usr.c optional netsmb nfs/nfs_common.c optional nfsclient nfs/nfs_common.c optional nfsserver -nfsclient/bootp_subr.c optional bootp nfsclient -nfsclient/krpc_subr.c optional bootp nfsclient +nfsclient/bootp_subr.c standard +nfsclient/krpc_subr.c optional nfsclient nfsclient/nfs_bio.c optional nfsclient nfsclient/nfs_diskless.c optional nfsclient nfs_root nfsclient/nfs_node.c optional nfsclient diff --git a/sys/conf/options b/sys/conf/options index b593318..71cf0fe 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -310,11 +310,6 @@ ALTQ_CDNR opt_altq.h ALTQ_PRIQ opt_altq.h ALTQ_NOPCC opt_altq.h ALTQ_DEBUG opt_altq.h -BOOTP opt_bootp.h -BOOTP_COMPAT opt_bootp.h -BOOTP_NFSROOT opt_bootp.h -BOOTP_NFSV3 opt_bootp.h -BOOTP_WIRED_TO opt_bootp.h BRIDGE opt_bdg.h DEV_PF opt_pf.h DEV_PFLOG opt_pf.h |