if I run /etc/rc.d/init.d/network restart /w the full path
it works fine. If I cd to /etc/rc.d/init.d/ and then type
". network restart" the command does not run and I am
immediately logged out.
Executing ". network restart" (note the space) will cause
the current shell to exit, that is correct.
Perhaps you meant "./network restart" (note the slash).