ash: recognize embedded scripts in SH_STANDALONE mode
function old new delta find_script_by_name - 51 +51 shellexec 254 271 +17 find_command 990 1007 +17 evalcommand 1653 1661 +8 doCommands 2233 2222 -11 run_applet_and_exit 128 100 -28 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 6/4 up/down: 104/-52) Total: 52 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
aa2959c90d
commit
151de441e7
@ -1322,7 +1322,7 @@ void bb_logenv_override(void) FAST_FUNC;
|
||||
#endif
|
||||
|
||||
/* Embedded script support */
|
||||
//int find_script_by_name(const char *arg IF_FEATURE_SH_STANDALONE(, int offset)) FAST_FUNC;
|
||||
int find_script_by_name(const char *name) FAST_FUNC;
|
||||
char *get_script_content(unsigned n) FAST_FUNC;
|
||||
|
||||
/* Applets which are useful from another applets */
|
||||
|
Reference in New Issue
Block a user