summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-03-19 05:47:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-03-19 05:47:48 +0000
commitd6f21d042f94001ecd954580554d0adcbacd1649 (patch)
tree6e24e96e2e9ace23eb146de0c046d82ce613618a /sys/nfs
parent268a29ccc7a2f091447c96a63f1049d7eb3fb87b (diff)
label all interfaces we netboot from in group "netboot", in a MI fashion
ok miod
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_boot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c
index eed4bb1ad15..62a7c5776be 100644
--- a/sys/nfs/nfs_boot.c
+++ b/sys/nfs/nfs_boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_boot.c,v 1.18 2006/06/17 14:14:12 henning Exp $ */
+/* $OpenBSD: nfs_boot.c,v 1.19 2008/03/19 05:47:47 deraadt Exp $ */
/* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */
/*
@@ -154,6 +154,7 @@ nfs_boot_init(nd, procp)
bcopy(ifp->if_xname, ireq.ifr_name, IFNAMSIZ);
printf("nfs_boot: using interface %s, with revarp & bootparams\n",
ireq.ifr_name);
+ if_addgroup(ifp, "netboot");
/*
* Bring up the interface.