Document multiple routes, fixes #210.
This commit is contained in:
parent
22e2a4f0a1
commit
775d56b877
@ -1,2 +1,6 @@
|
|||||||
# Example static route. See route(8) for syntax.
|
# Separate multiple routes using ; or new lines.
|
||||||
#staticroute="net 192.168.0.0 -netmask 255.255.0.0 10.73.1.1"
|
# /etc/route.conf(5) takes precedence over this configuration.
|
||||||
|
|
||||||
|
# Example static routes. See route(8) for syntax.
|
||||||
|
#staticroute="net 192.168.0.0 -netmask 255.255.255.0 10.73.1.1
|
||||||
|
#net 192.168.1.0 -netmask 255.255.255.0 10.73.1.1"
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
# Example static route. See route(8) for syntax.
|
# Separate multiple routes using ; or new lines.
|
||||||
#staticroute="net 192.168.0.0 netmask 255.255.0.0 gw 10.73.1.1"
|
|
||||||
|
|
||||||
# Example static route using iproute2. See ip(8) for syntax.
|
# Example static routes. See route(8) for syntax.
|
||||||
#staticiproute="192.168.0.0/24 via 10.73.1.1"
|
#staticroute="net 192.168.0.0 netmask 255.255.255.0 gw 10.73.1.1
|
||||||
|
#net 192.168.1.0 netmask 255.255.255.0 gw 10.73.1.1"
|
||||||
|
|
||||||
|
# Example static routes using iproute2. See ip(8) for syntax.
|
||||||
|
#staticiproute="192.168.0.0/24 via 10.73.1.1; 192.168.1.0/24 via 10.73.1.1"
|
||||||
|
@ -28,6 +28,7 @@ pre_flight_checks()
|
|||||||
|
|
||||||
dump_args()
|
dump_args()
|
||||||
{
|
{
|
||||||
|
# Route configuration file, as used by the NetBSD RC system
|
||||||
if [ -s /etc/route.conf ]; then
|
if [ -s /etc/route.conf ]; then
|
||||||
cat /etc/route.conf
|
cat /etc/route.conf
|
||||||
return $?
|
return $?
|
||||||
|
Loading…
Reference in New Issue
Block a user