From add965706a3a239a7eb6750d6fc14090eb70dd12 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 8 Jul 2012 21:10:10 -0500 Subject: add the appropriate network scripts to the boot runlevel --- runlevels/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'runlevels/Makefile') diff --git a/runlevels/Makefile b/runlevels/Makefile index ac3796e..da2d4ea 100644 --- a/runlevels/Makefile +++ b/runlevels/Makefile @@ -1,5 +1,5 @@ -BOOT= bootmisc fsck hostname localmount network \ - root staticroute swap swapfiles sysctl urandom ${BOOT-${OS}} +BOOT= bootmisc fsck hostname localmount \ + root swap swapfiles sysctl urandom ${BOOT-${OS}} DEFAULT= local netmount SHUTDOWN= savecache ${SHUTDOWN-${OS}} SYSINIT= ${SYSINIT-${OS}} @@ -37,6 +37,14 @@ BOOT-NetBSD= hostid newsyslog savecore syslogd # NetBSD specific stuff BOOT-NetBSD+= devdb swap-blk ttys wscons +ifeq(${MKOLDNET},yes) +boot-FreeBSD += net.lo0 +boot-Linux += net.lo +boot-NetBSD += net.lo0 +else +boot += network staticroute +endif + all: install: -- cgit v1.2.3