Просмотр исходного кода

iproute2: enable automatic color output by default

Support for color output has existed in iproute2 since forever and we
never compile it out, even in tiny variants. As such, not requiring
people to constantly add -c to their ip commands is a nice QoL feature.

Signed-off-by: George Tsiamasiotis <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20281
Signed-off-by: Robert Marko <[email protected]>
George Tsiamasiotis 4 месяцев назад
Родитель
Сommit
2730d1186a
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      package/network/utils/iproute2/Makefile

+ 2 - 1
package/network/utils/iproute2/Makefile

@@ -172,7 +172,8 @@ CONFIGURE_VARS += \
 
 CONFIGURE_ARGS += \
 	--include_dir="$(TOOLCHAIN_ROOT_DIR)/usr/include" \
-	--libbpf_force=$(LIBBPF_FORCE)
+	--libbpf_force=$(LIBBPF_FORCE) \
+	--color=auto
 
 MAKE_FLAGS += \
 	SHARED_LIBS=$(SHARED_LIBS) \