[arch-projects] [initscripts] net: add examples

Tom Gundersen teg at jklm.no
Tue May 31 04:25:50 EDT 2011


Dave,

Does the below look correct to you?

Cheers,

Tom

commit 017b5a689363aac54313b6e51d0da713f33787b7
Author: Tom Gundersen <teg at jklm.no>
Date:   Tue May 31 10:24:12 2011 +0200

    net: add examples

    Signed-off-by: Tom Gundersen <teg at jklm.no>

diff --git a/rc.conf b/rc.conf
index 3c21d4e..534112f 100644
--- a/rc.conf
+++ b/rc.conf
@@ -71,6 +71,17 @@ HOSTNAME="myhost"
 #   - netmask: subnet mask (ignored for DHCP)
 #   - gateway: default route (ignored for DHCP)
 #
+# Static IP example
+# interface=eth0
+# address=192.168.0.2
+# netmask=255.255.255.0
+# gateway=192.168.0.1
+#
+# DHCP example
+# interface=eth0
+# address=
+# netmask=
+# gateway=

 interface=
 address=


More information about the arch-projects mailing list