Переглянути джерело

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 2 місяців тому
батько
коміт
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) \