diff options
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 9 |
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 |