aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index e413b3c2..4efe0e12 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -29,6 +29,7 @@ fi
# Even if IPX is configured, without the utilities we can't do much
[ ! -x /sbin/ipx_internal_net -o ! -x /sbin/ipx_configure ] && IPX=
+CWD=`pwd`
cd /etc/sysconfig/network-scripts
# find all the interfaces besides loopback.
@@ -118,6 +119,7 @@ case "$1" in
fi
;;
restart)
+ cd $CWD
$0 stop
$0 start
;;