aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
committerDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
commitf4cc66886a0a1043a786e62c30d7ef2d40c50e03 (patch)
treebacf7e343e469639391eb818bb85589a91ebaa88 /rc.d/init.d/network
parent34d0b15663a995dff1ba2ebfa742afbac36fc1f2 (diff)
downloadinitscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.gz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.bz2
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.xz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.zip
added status|restart to all scripts
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network9
1 files changed, 8 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index b7a80705..45346aba 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -69,8 +69,15 @@ case "$1" in
./ifdown ifcfg-lo
rm -f /var/lock/subsys/network
;;
+ status)
+ status network
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
*)
- echo "Usage: network {start|stop}"
+ echo "Usage: network {start|stop|restart|status}"
exit 1
esac