tc: consolidate its disabled bits
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 23 Nov 2016 08:51:33 +0000 (09:51 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 23 Nov 2016 08:51:33 +0000 (09:51 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/applets.src.h
networking/Config.src
networking/tc.c

index 3fd9ba06e9d76597fc0398c57154b255de331623..18baee155754bcda015df20daaab9687f79038cc 100644 (file)
@@ -206,7 +206,6 @@ IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
 IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP))
 IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac))
 IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP))
-/* IF_TC(APPLET(tc, BB_DIR_SBIN, BB_SUID_DROP)) */
 IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP))
 IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
 IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
index 4d921884f51c50abd5d74253ea293c0980098a73..527bdd15d0761560e0ebbf5d25a336710730889e 100644 (file)
@@ -48,16 +48,6 @@ config VERBOSE_RESOLUTION_ERRORS
 
 INSERT
 
-#config TC
-#      bool "tc"
-#      default y
-#      help
-#        show / manipulate traffic control settings
-#
-#config FEATURE_TC_INGRESS
-#      def_bool n
-#      depends on TC
-
 source networking/udhcp/Config.in
 
 config IFUPDOWN_UDHCPC_CMD_OPTIONS
index e10200c1ed30483c2c31651f85ddac0e06ebc864..271d569e40a1a14e57be2bd3261ff925700a77e8 100644 (file)
@@ -6,7 +6,22 @@
  *
  * Bernhard Reutner-Fischer adjusted for busybox
  */
-//kbuild:lib-$(CONFIG_TC) += tc.o
+
+/* Was disabled in 2008 by Bernhard, not known why.
+--//config:#config TC
+--//config:#   bool "tc"
+--//config:#   default y
+--//config:#   help
+--//config:#     Show / manipulate traffic control settings
+--//config:#
+--//config:#config FEATURE_TC_INGRESS
+--//config:#   default y
+--//config:#   depends on TC
+--
+--//applet:IF_TC(APPLET(tc, BB_DIR_SBIN, BB_SUID_DROP))
+--
+--//kbuild:lib-$(CONFIG_TC) += tc.o
+*/
 
 //usage:#define tc_trivial_usage
 /* //usage: "[OPTIONS] OBJECT CMD [dev STRING]" */