Browse Source

disable busybox ps, when procps is enabled

Waldemar Brodkorb 7 years ago
parent
commit
0906094ae8
2 changed files with 7 additions and 0 deletions
  1. 6 0
      package/busybox/Config.in.manual
  2. 1 0
      package/busybox/config/procps/Config.in

+ 6 - 0
package/busybox/Config.in.manual

@@ -414,3 +414,9 @@ config BUSYBOX_DISABLE_KMOD
 	depends on ADK_PACKAGE_KMOD
 	default n
 
+config BUSYBOX_DISABLE_PS
+	bool
+	default y if ADK_PACKAGE_PROCPS
+	depends on ADK_PACKAGE_PROCPS
+	default n
+

+ 1 - 0
package/busybox/config/procps/Config.in

@@ -154,6 +154,7 @@ config BUSYBOX_PKILL
 
 config BUSYBOX_PS
 	bool "ps"
+	depends on !BUSYBOX_DISABLE_PS
 	default y
 	help
 	  ps gives a snapshot of the current processes.