summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile4
-rw-r--r--conf.d/net4
2 files changed, 3 insertions, 5 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index 24db589..aefb612 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -1,8 +1,10 @@
+include ../mk/net.mk
+
DIR= ${CONFDIR}
CONF= bootmisc fsck hostname localmount netmount urandom tmpfiles \
${CONF-${OS}}
-ifeq (${MKNET},)
+ifeq (${MKNET},yes)
CONF+= network staticroute
TARGETS+= network staticroute
CLEANFILES+= network staticroute
diff --git a/conf.d/net b/conf.d/net
deleted file mode 100644
index 52a03e3..0000000
--- a/conf.d/net
+++ /dev/null
@@ -1,4 +0,0 @@
-# This blank configuration will automatically use DHCP for any net.*
-# scripts in /etc/init.d. To create a more complete configuration,
-# please review /usr/share/doc/openrc*/net.example* and save your configuration
-# in /etc/conf.d/net (this file :]!).