From bcd6177853a39d47b7c0ea75cc27653d63649afa Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sat, 13 May 2000 06:33:19 +0000 Subject: BusyBox shell (lash) can now be used as a standalone shell when BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace sash). Also fixed it so shell builtins now respect pipes and redirects. -Erik --- applets/busybox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'applets') diff --git a/applets/busybox.c b/applets/busybox.c index 85b42df..07caa34 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -30,7 +30,7 @@ int atexit(void (*__func) (void)) void *__libc_stack_end; #endif -static const struct Applet applets[] = { +const struct BB_applet applets[] = { #ifdef BB_BASENAME {"basename", basename_main, _BB_DIR_USR_BIN}, @@ -350,7 +350,7 @@ int main(int argc, char **argv) { char *s; char *name; - const struct Applet *a = applets; + const struct BB_applet *a = applets; for (s = name = argv[0]; *s != '\0';) { if (*s++ == '/') @@ -384,7 +384,7 @@ int busybox_main(int argc, char **argv) argv++; if (been_there_done_that == 1 || argc < 1) { - const struct Applet *a = applets; + const struct BB_applet *a = applets; fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", BB_VER, BB_BT); -- cgit v1.1