aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gber@FreeBSD.org>2011-06-29 15:17:29 +0000
committerGrzegorz Bernacki <gber@FreeBSD.org>2011-06-29 15:17:29 +0000
commitacd73f5041564d7bf5d477ee64749023be43c780 (patch)
tree31433e3608add85bd349dee7f565af9de4774fb8 /sys/nfs
parent24f4fe9a01836b22809e787dde80137b952d9ddb (diff)
Notes
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/bootp_subr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
index ca90089d02f5..bd4a826f8317 100644
--- a/sys/nfs/bootp_subr.c
+++ b/sys/nfs/bootp_subr.c
@@ -44,6 +44,7 @@
__FBSDID("$FreeBSD$");
#include "opt_bootp.h"
+#include "opt_nfs.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -1699,6 +1700,9 @@ bootpc_init(void)
}
rootdevnames[0] = "nfs:";
+#ifdef NFSCLIENT
+ rootdevnames[1] = "oldnfs:";
+#endif
mountopts(&nd->root_args, NULL);
for (ifctx = gctx->interfaces; ifctx != NULL; ifctx = ifctx->next)