* 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]>
---

This default should make life easier for most people as we can assume dhcp is 
available in most networks.
We should document though that this can be disabled by "rc.d stop network" or 
better setup rc.conf and restart the network daemon.

 configs/releng/root-image/etc/conf.d/dhcpcd | 6 ++++++
 configs/releng/root-image/etc/rc.conf       | 2 +-
 2 Dateien geändert, 7 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)
 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.3

Reply via email to