]> git.ipfire.org Git - people/stevee/network.git/commitdiff
network: Add restart command.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jun 2010 22:38:39 +0000 (00:38 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jun 2010 22:38:39 +0000 (00:38 +0200)
network

diff --git a/network b/network
index 0a2cfdaa4f44d65fb4eabaa6a7ccc5373d7e7228..e586da7b4e9394b5edb466cdfe9ea93ff767177f 100755 (executable)
--- a/network
+++ b/network
@@ -58,6 +58,11 @@ case "${action}" in
                cli_stop $@
                ;;
 
+       restart)
+               cli_stop $@
+               cli_start $@
+               ;;
+
        show)
                cli_show $@
                ;;