Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-13 02:49:18 +0300
committerErik Andersen <andersen@codepoet.org>2000-03-13 02:49:18 +0300
commit3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95 (patch)
tree5670f3711de435e2e159ff9ceebda1bebe33d38c /busybox.c
parent269bba25149289201055c9448e8c64fc05dbf89d (diff)
First pass at writing a shell for busybox.
Works fine, full job control support, etc. No syntax yet (if, then, while, etc). Handles pipes and & processes fine. TODO: add command editing, add syntax suport. -Erik
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/busybox.c b/busybox.c
index cea191cb3..9aa46eaae 100644
--- a/busybox.c
+++ b/busybox.c
@@ -223,13 +223,16 @@ static const struct Applet applets[] = {
#ifdef BB_RMMOD //sbin
{"rmmod", rmmod_main},
#endif
+#ifdef BB_SED //bin
+ {"sed", sed_main},
+#endif
+#ifdef BB_SH //bin
+ {"sh", shell_main},
+#endif
#ifdef BB_SFDISK //sbin
{"fdisk", sfdisk_main},
{"sfdisk", sfdisk_main},
#endif
-#ifdef BB_SED //bin
- {"sed", sed_main},
-#endif
#ifdef BB_SLEEP //bin
{"sleep", sleep_main},
#endif