diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-03-12 23:49:18 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-03-12 23:49:18 +0000 |
commit | 3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95 (patch) | |
tree | 5670f3711de435e2e159ff9ceebda1bebe33d38c /applets | |
parent | 269bba25149289201055c9448e8c64fc05dbf89d (diff) | |
download | busybox-w32-3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95.tar.gz busybox-w32-3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95.tar.bz2 busybox-w32-3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95.zip |
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 'applets')
-rw-r--r-- | applets/busybox.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index cea191cb3..9aa46eaae 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -223,13 +223,16 @@ static const struct Applet applets[] = { | |||
223 | #ifdef BB_RMMOD //sbin | 223 | #ifdef BB_RMMOD //sbin |
224 | {"rmmod", rmmod_main}, | 224 | {"rmmod", rmmod_main}, |
225 | #endif | 225 | #endif |
226 | #ifdef BB_SED //bin | ||
227 | {"sed", sed_main}, | ||
228 | #endif | ||
229 | #ifdef BB_SH //bin | ||
230 | {"sh", shell_main}, | ||
231 | #endif | ||
226 | #ifdef BB_SFDISK //sbin | 232 | #ifdef BB_SFDISK //sbin |
227 | {"fdisk", sfdisk_main}, | 233 | {"fdisk", sfdisk_main}, |
228 | {"sfdisk", sfdisk_main}, | 234 | {"sfdisk", sfdisk_main}, |
229 | #endif | 235 | #endif |
230 | #ifdef BB_SED //bin | ||
231 | {"sed", sed_main}, | ||
232 | #endif | ||
233 | #ifdef BB_SLEEP //bin | 236 | #ifdef BB_SLEEP //bin |
234 | {"sleep", sleep_main}, | 237 | {"sleep", sleep_main}, |
235 | #endif | 238 | #endif |