]> git.ipfire.org Git - network.git/blobdiff - functions.cli
network: Automatically create all ethernet ports.
[network.git] / functions.cli
index 9339a7bc2f0690b689dd9bf00cbb80bcde233201..7986413ea08618c14ed2515e3c70641f3344630a 100644 (file)
@@ -348,7 +348,8 @@ function cli_reset() {
                port_remove ${port}
        done
 
-       # XXX recreate ethernet ports
+       # Re-run the initialization functions
+       init_run
 
        exit ${EXIT_OK}
 }