From d1b2ae2d04eae05d76ad3c1a07e9092c7d46c773 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 18 Nov 2018 19:12:26 +0100 Subject: busybox: add '--show SCRIPT' option to display scripts Add an option to allow the content of embedded scripts to be displayed. This includes applet scripts, custom scripts and the .profile script. function old new delta busybox_main 624 701 +77 find_script_by_name - 24 +24 scripted_main 41 35 -6 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 101/-6) Total: 95 bytes Signed-off-by: Ron Yorston Signed-off-by: Denys Vlasenko --- Config.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index ae21f52ef..01680af1f 100644 --- a/Config.in +++ b/Config.in @@ -178,6 +178,11 @@ config BUSYBOX Running "busybox APPLET [ARGS...]" will still work, of course. +config FEATURE_SHOW_SCRIPT + bool "Support --show SCRIPT" + default y + depends on BUSYBOX + config FEATURE_INSTALLER bool "Support --install [-s] to install applet links at runtime" default y -- cgit v1.2.3