summaryrefslogtreecommitdiff
path: root/runlevels/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-08 21:10:10 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-08 21:10:10 -0500
commitadd965706a3a239a7eb6750d6fc14090eb70dd12 (patch)
tree119e8bf2aca23af76da8e8b02059305c4b35ddcb /runlevels/Makefile
parent5d8b1b689b2fb04eb7840dcc1d07c82f3e9a9960 (diff)
downloadopenrc-add965706a3a239a7eb6750d6fc14090eb70dd12.tar.gz
openrc-add965706a3a239a7eb6750d6fc14090eb70dd12.tar.bz2
openrc-add965706a3a239a7eb6750d6fc14090eb70dd12.tar.xz
add the appropriate network scripts to the boot runlevel
Diffstat (limited to 'runlevels/Makefile')
-rw-r--r--runlevels/Makefile12
1 files changed, 10 insertions, 2 deletions
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: