aboutsummaryrefslogtreecommitdiff
path: root/runlevels/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runlevels/Makefile')
-rw-r--r--runlevels/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/runlevels/Makefile b/runlevels/Makefile
index f6911139..25e3e1ab 100644
--- a/runlevels/Makefile
+++ b/runlevels/Makefile
@@ -1,3 +1,5 @@
+include ../mk/net.mk
+
BOOT= bootmisc fsck hostname localmount loopback \
root swap swapfiles sysctl urandom ${BOOT-${OS}}
DEFAULT= local netmount
@@ -10,7 +12,7 @@ BOOTDIR= ${LEVELDIR}/boot
DEFAULTDIR= ${LEVELDIR}/default
SHUTDOWNDIR= ${LEVELDIR}/shutdown
-ifeq (${MKNET},)
+ifeq (${MKNET},yes)
BOOT+= network staticroute
endif
@@ -25,12 +27,6 @@ BOOT-${OS}=
SHUTDOWN-${OS}=
SYSINIT-${OS}=
-ifeq (${MKNET},oldnet)
-BOOT-FreeBSD+= net.lo0
-BOOT-Linux+= net.lo
-BOOT-NetBSD+= net.lo0
-endif
-
BOOT-BSD= hostid newsyslog savecore syslogd swap-blk
# Generic BSD stuff