diff options
Diffstat (limited to 'init.d/network.in')
-rw-r--r-- | init.d/network.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/network.in b/init.d/network.in index 01e88ce8..a5633328 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -222,7 +222,7 @@ start() einfo "Starting network" routeflush if [ "$RC_UNAME" = "Linux" ]; then - ifconfig lo 127.0.0.1 netmask 255.0.0.0 || cr=1 + ifconfig lo 127.0.0.1 netmask 255.0.0.0 || cr=1 route add -net 127.0.0.0 netmask 255.0.0.0 \ gw 127.0.0.1 reject 2>/dev/null else @@ -287,7 +287,7 @@ start() [ $r != 0 ] veend $? fi - + if [ -n "$defaultroute" ]; then ebegin "Setting default route $defaultroute" route add default $defaultroute |