aboutsummaryrefslogtreecommitdiff
path: root/toys/toysh.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
committerRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
commit55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce (patch)
tree22a4175b86fc92f3ac5745f658dcb4f4f339fcec /toys/toysh.c
parent2896480c4918f2accccb8301bec457a7bff7377e (diff)
downloadtoybox-55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce.tar.gz
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
Diffstat (limited to 'toys/toysh.c')
-rw-r--r--toys/toysh.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/toys/toysh.c b/toys/toysh.c
index 353d2158..15c78116 100644
--- a/toys/toysh.c
+++ b/toys/toysh.c
@@ -16,6 +16,11 @@
*
* TODO: // Handle embedded NUL bytes in the command line.
+USE_TOYSH(NEWTOY(cd, NULL, TOYFLAG_NOFORK))
+USE_TOYSH(NEWTOY(exit, NULL, TOYFLAG_NOFORK))
+USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN))
+USE_TOYSH(NEWTOY(toysh, "c:i", TOYFLAG_BIN))
+
config TOYSH
bool "sh (toysh)"
default y