From: Pierre Schmitz <[email protected]>

* 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 <[email protected]>
---
 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 0000000..76b56ff
--- /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 f97ec88..a2e6ebf 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
 #
-- 
1.7.11.4

Reply via email to