aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-06-09 00:54:02 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-06-09 21:49:32 -0300
commit3d45a70d3b7e898923638dbb795e50c2e7c378c9 (patch)
treefb15ba1af713bbfabfde1ec57cf62d737e2da50c /rc.conf
parent663f5e917994b674d4fbe184ff262f94da11256e (diff)
downloadinitscripts-3d45a70d3b7e898923638dbb795e50c2e7c378c9.tar.xz
[initscripts] network: Add missing broadcast address
Without this broadcast address is not set. broadcast= parameter can be empty. In this case the broadcast address is derived by setting all of the interface host bits to one (+). Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.conf b/rc.conf
index b9c468a..c17c48c 100644
--- a/rc.conf
+++ b/rc.conf
@@ -65,12 +65,14 @@ HOSTNAME="myhost"
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP)
+# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
+# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
@@ -82,6 +84,7 @@ HOSTNAME="myhost"
interface=
address=
netmask=
+broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.