]> git.ipfire.org Git - people/arne_f/network.git/blobdiff - functions.cli
network: Make restart timeout configureable.
[people/arne_f/network.git] / functions.cli
index 14df652a9f376591dacc4031429a66c35da44c47..21bb3c5229e9c09a9a07bac535652fd2def6d18a 100644 (file)
@@ -213,7 +213,7 @@ function cli_restart() {
        cli_stop $@
 
        # Give the system some time to calm down
-       sleep 2
+       sleep ${TIMEOUT_RESTART}
 
        cli_start $@
 }