From c7957079750a8de11821e2f597f05176d1cb7e75 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Tue, 31 Jul 2012 19:52:09 -0300
Subject: [PATCH] Enable network by default

* add the network daemon to rc.conf
* configure dhcpd to background immediatly so we don't timeout if network is not up yet

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
---
 configs/releng/root-image/etc/conf.d/dhcpcd | 6 ++++++
 configs/releng/root-image/etc/rc.conf       | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 configs/releng/root-image/etc/conf.d/dhcpcd

diff --git a/configs/releng/root-image/etc/conf.d/dhcpcd b/configs/releng/root-image/etc/conf.d/dhcpcd
new file mode 100644
index 00000000..76b56ff9
--- /dev/null
+++ b/configs/releng/root-image/etc/conf.d/dhcpcd
@@ -0,0 +1,6 @@
+#
+# Arguments to be passed to the DHCP client daemon
+#
+
+DHCPCD_ARGS="-qb"
+
diff --git a/configs/releng/root-image/etc/rc.conf b/configs/releng/root-image/etc/rc.conf
index f97ec882..a2e6ebfc 100644
--- a/configs/releng/root-image/etc/rc.conf
+++ b/configs/releng/root-image/etc/rc.conf
@@ -8,7 +8,7 @@
 # For more details on rc.conf see rc.conf(5).
 #
 
-DAEMONS=(syslog-ng haveged pacman-init)
+DAEMONS=(syslog-ng network haveged pacman-init)
 
 # Storage
 #
-- 
GitLab