From 3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sun, 12 Mar 2000 23:49:18 +0000 Subject: 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 --- applets/busybox.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'applets') 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[] = { #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 -- cgit v1.2.3