From 7912f974d46927cb80347bd89cebae2d9b4b99f2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 6 Apr 1999 16:30:26 +0000 Subject: make network work for restart if called as ./network --- rc.d/init.d/network | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rc.d') 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 ;; -- cgit v1.2.1