diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-12 23:49:18 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-12 23:49:18 +0000 |
commit | 213c421511de7c4f96514ade23580edb56bbc069 (patch) | |
tree | 5670f3711de435e2e159ff9ceebda1bebe33d38c /applets | |
parent | 55ffdbb2e8d0db01a1f99cbb71af91a48260262d (diff) | |
download | busybox-w32-213c421511de7c4f96514ade23580edb56bbc069.tar.gz busybox-w32-213c421511de7c4f96514ade23580edb56bbc069.tar.bz2 busybox-w32-213c421511de7c4f96514ade23580edb56bbc069.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
git-svn-id: svn://busybox.net/trunk/busybox@403 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 |