summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-12-30 16:42:12 +0000
committerBill Nottingham <notting@redhat.com>1999-12-30 16:42:12 +0000
commitadfa4605b47ae98d497e08e84473ab5c19901781 (patch)
tree756fa9a5c526d2f2b90020745afa7fed0a82e967
parentb8d447a39bff40aef43638ab2dce44ff77d5fc70 (diff)
downloadinitscripts-adfa4605b47ae98d497e08e84473ab5c19901781.tar.gz
initscripts-adfa4605b47ae98d497e08e84473ab5c19901781.tar.xz
initscripts-adfa4605b47ae98d497e08e84473ab5c19901781.zip
don't call non-existant ipv4_forward_set
-rwxr-xr-xrc.d/init.d/network6
1 files changed, 1 insertions, 5 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 8747cc65..5a692d61 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -122,9 +122,6 @@ case "$1" in
reload)
if [ -x /bin/linuxconf ] ; then
eval `/bin/linuxconf --hint netdev`
- if [ "$RECONF_IPV4ROUTING" = "yes" ] ; then
- ipv4_forward_set
- fi
for device in $DEV_UP ; do
action "Bringing up device $device" ./ifup $device
done
@@ -167,8 +164,7 @@ case "$1" in
if [ -x /bin/linuxconf ] ; then
eval `/bin/linuxconf --hint netdev`
[ -n "$DEV_UP$DEV_DOWN$DEV_RECONF$DEV_RECONF_ALIASES" -o \
- -n "$DEV_RECONF_ROUTES$IPXINTERNALNET" -o \
- "$RECONF_IPV4ROUTING" = yes ] && \
+ -n "$DEV_RECONF_ROUTES$IPXINTERNALNET" ]
echo reload
exit 0
else