From: Jonatan Schlag Date: Thu, 15 Jun 2017 16:18:52 +0000 (+0200) Subject: network: add color commands X-Git-Tag: 009~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de0a49fe0ff3b9972df7fe56f7bfa56308874fd;p=network.git network: add color commands Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/src/network b/src/network index e0d57a04..ea7f7d66 100644 --- a/src/network +++ b/src/network @@ -518,6 +518,9 @@ cli_port() { edit|create|remove|up|down|status|identify) port_${action} "${port}" $@ ;; + color) + color_cli "port" "${port}" $@ + ;; *) error "Unrecognized argument: ${action}" exit ${EXIT_ERROR} @@ -576,6 +579,9 @@ cli_zone() { config|disable|down|edit|enable|identify|status|up) zone_${action} ${zone} $@ ;; + color) + color_cli "zone" "${zone}" $@ + ;; *) error "Unrecognized argument: ${action}" cli_show_man network-zone