diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2009-12-10 22:08:51 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-12-10 22:08:51 +0000 |
commit | 12af86395ff3726789f72e96aa1367e2e428b972 (patch) | |
tree | ab0b28bfcb0f4ea390f022ac435f8253653a277c /init.d | |
parent | 5b3e5edda2d3cf114e298d8eb6eeb40f3b94b623 (diff) |
Allow ip to add the default route.
Fixes #211.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/network.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/network.in b/init.d/network.in index 7bbe2535..0d53f14d 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -255,6 +255,10 @@ start() route add default $defaultroute fi eend $? + elif [ -n "$defaultiproute" ]; then + ebegin "Setting default route $defauliptroute" + ip route add default via $defaultiproute + eend $? fi return 0 |