diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-13 06:33:19 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-13 06:33:19 +0000 |
commit | bcd6177853a39d47b7c0ea75cc27653d63649afa (patch) | |
tree | 45ed7567a55a548fff8cf6e50dcda63420a8bd0f /applets | |
parent | 73c8c9cf9a61286a109a8785b8e4782828d6fe99 (diff) | |
download | busybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.gz busybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.bz2 busybox-w32-bcd6177853a39d47b7c0ea75cc27653d63649afa.zip |
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
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 85b42df23..07caa3446 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -30,7 +30,7 @@ int atexit(void (*__func) (void)) | |||
30 | void *__libc_stack_end; | 30 | void *__libc_stack_end; |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | static const struct Applet applets[] = { | 33 | const struct BB_applet applets[] = { |
34 | 34 | ||
35 | #ifdef BB_BASENAME | 35 | #ifdef BB_BASENAME |
36 | {"basename", basename_main, _BB_DIR_USR_BIN}, | 36 | {"basename", basename_main, _BB_DIR_USR_BIN}, |
@@ -350,7 +350,7 @@ int main(int argc, char **argv) | |||
350 | { | 350 | { |
351 | char *s; | 351 | char *s; |
352 | char *name; | 352 | char *name; |
353 | const struct Applet *a = applets; | 353 | const struct BB_applet *a = applets; |
354 | 354 | ||
355 | for (s = name = argv[0]; *s != '\0';) { | 355 | for (s = name = argv[0]; *s != '\0';) { |
356 | if (*s++ == '/') | 356 | if (*s++ == '/') |
@@ -384,7 +384,7 @@ int busybox_main(int argc, char **argv) | |||
384 | argv++; | 384 | argv++; |
385 | 385 | ||
386 | if (been_there_done_that == 1 || argc < 1) { | 386 | if (been_there_done_that == 1 || argc < 1) { |
387 | const struct Applet *a = applets; | 387 | const struct BB_applet *a = applets; |
388 | 388 | ||
389 | fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", | 389 | fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", |
390 | BB_VER, BB_BT); | 390 | BB_VER, BB_BT); |