1 |
commit: add965706a3a239a7eb6750d6fc14090eb70dd12 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 9 02:10:10 2012 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 02:10:10 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=add96570 |
7 |
|
8 |
add the appropriate network scripts to the boot runlevel |
9 |
|
10 |
--- |
11 |
runlevels/Makefile | 12 ++++++++++-- |
12 |
1 files changed, 10 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/runlevels/Makefile b/runlevels/Makefile |
15 |
index ac3796e..da2d4ea 100644 |
16 |
--- a/runlevels/Makefile |
17 |
+++ b/runlevels/Makefile |
18 |
@@ -1,5 +1,5 @@ |
19 |
-BOOT= bootmisc fsck hostname localmount network \ |
20 |
- root staticroute swap swapfiles sysctl urandom ${BOOT-${OS}} |
21 |
+BOOT= bootmisc fsck hostname localmount \ |
22 |
+ root swap swapfiles sysctl urandom ${BOOT-${OS}} |
23 |
DEFAULT= local netmount |
24 |
SHUTDOWN= savecache ${SHUTDOWN-${OS}} |
25 |
SYSINIT= ${SYSINIT-${OS}} |
26 |
@@ -37,6 +37,14 @@ BOOT-NetBSD= hostid newsyslog savecore syslogd |
27 |
# NetBSD specific stuff |
28 |
BOOT-NetBSD+= devdb swap-blk ttys wscons |
29 |
|
30 |
+ifeq(${MKOLDNET},yes) |
31 |
+boot-FreeBSD += net.lo0 |
32 |
+boot-Linux += net.lo |
33 |
+boot-NetBSD += net.lo0 |
34 |
+else |
35 |
+boot += network staticroute |
36 |
+endif |
37 |
+ |
38 |
all: |
39 |
|
40 |
install: |