summaryrefslogtreecommitdiff
path: root/runlevels/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-10 12:18:06 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-10 12:18:06 -0500
commit006fbdce83a8b75766f9d6deeedefef001f15b32 (patch)
tree6e0df158152a4f4e542b6d4293c8ad8575ff4f91 /runlevels/Makefile
parent60d6847de553970a80207fde6bd46f5f3696e049 (diff)
downloadopenrc-006fbdce83a8b75766f9d6deeedefef001f15b32.tar.gz
openrc-006fbdce83a8b75766f9d6deeedefef001f15b32.tar.bz2
openrc-006fbdce83a8b75766f9d6deeedefef001f15b32.tar.xz
fix the upstream default network stack
The OpenRC upstream default network stack was changed, but there was no reason to change it. Now since we have the MKNET build switch, it is easy for the gentoo ebuild to install oldnet by default. The upstream default is newnet.
Diffstat (limited to 'runlevels/Makefile')
-rw-r--r--runlevels/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/runlevels/Makefile b/runlevels/Makefile
index 2b25a35..25fa029 100644
--- a/runlevels/Makefile
+++ b/runlevels/Makefile
@@ -11,12 +11,6 @@ DEFAULTDIR= ${LEVELDIR}/default
SHUTDOWNDIR= ${LEVELDIR}/shutdown
ifeq (${MKNET},)
-BOOT-FreeBSD += net.lo0
-BOOT-Linux += net.lo
-BOOT-NetBSD += net.lo0
-endif
-
-ifeq (${MKNET},newnet)
BOOT+= network staticroute
endif
@@ -31,19 +25,25 @@ 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
-BOOT-FreeBSD= hostid newsyslog savecore syslogd
+BOOT-FreeBSD+= hostid newsyslog savecore syslogd
# FreeBSD specific stuff
BOOT-FreeBSD+= adjkerntz dumpon syscons
-BOOT-Linux= hwclock keymaps modules mtab procfs termencoding
+BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding
SHUTDOWN-Linux= killprocs mount-ro
SYSINIT-Linux= devfs dmesg
# Generic BSD stuff
-BOOT-NetBSD= hostid newsyslog savecore syslogd
+BOOT-NetBSD+= hostid newsyslog savecore syslogd
# NetBSD specific stuff
BOOT-NetBSD+= devdb swap-blk ttys wscons