aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-09 13:54:01 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-04-09 13:54:01 -0500
commit15660dbbfcbf8eace589a3284130036b481c1cdf (patch)
tree94b1fb8a80575af1a7a78ecb0a3c6a6298f7826d /doc
parent07db27d2201a1462e36bb34f37b9c1d4e8b048a3 (diff)
add fallback_routes support to network scripts
Add support for optional fallback_routes_* variables in the network scripts. This is similar to the fallback_route_* support in baselayout-1. However, if you do not have fallback_routes set for an interface but you do have routes set, that setting will be used, so you do not need this variable unless you want the fallback routes to be different from the primary routes. X-Gentoo-Bug: 250978 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=250978
Diffstat (limited to 'doc')
-rw-r--r--doc/net.example.BSD.in4
-rw-r--r--doc/net.example.Linux.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/net.example.BSD.in b/doc/net.example.BSD.in
index 287c644a..2329fa22 100644
--- a/doc/net.example.BSD.in
+++ b/doc/net.example.BSD.in
@@ -67,10 +67,12 @@
# If a specified module fails (like dhcp - see below), you can specify a
# fallback like so
#fallback_eth0="192.168.0.2 netmask 255.255.255.0"
-#fallback_route_eth0="default via 192.168.0.1"
+#fallback_routes_eth0="default via 192.168.0.1"
# NOTE: fallback entry must match the entry location in config_eth0
# As such you can only have one fallback route.
+# Also, if you do not set a fallback_routes entry for an interface, the
+# routes entry will be used if that is set.
# Some users may need to alter the MTU - here's how
#mtu_eth0="1500"
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 424c6775..709e201b 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -94,10 +94,12 @@
# If a specified module fails (like dhcp - see below), you can specify a
# fallback like so
#fallback_eth0="192.168.0.2/24"
-#fallback_route_eth0="default via 192.168.0.1"
+#fallback_routes_eth0="default via 192.168.0.1"
# NOTE: fallback entry must match the entry location in config_eth0
# As such you can only have one fallback route.
+# Also, if you do not set a fallback_routes entry for an interface, the
+# routes entry will be used if that is set.
# Some users may need to alter the MTU - here's how
#mtu_eth0="1500"