aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-01 22:23:58 -0500
committerRob Landley <rob@landley.net>2006-11-01 22:23:58 -0500
commit9b3fc7d5e0fe4850c7faa67257231366bf9053e2 (patch)
tree4785a67f15d5b39562fee69b155575d21afcb967 /main.c
parent1f24e8080858e62794ba4d2869a3ae1e383e47e7 (diff)
downloadtoybox-9b3fc7d5e0fe4850c7faa67257231366bf9053e2.tar.gz
Add a hello world applet, partly as an example and partly for testing purposes.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index c4b38cd4..de349ec6 100644
--- a/main.c
+++ b/main.c
@@ -17,6 +17,7 @@ struct toy_list toy_list[] = {
{"cd", cd_main, TOYFLAG_NOFORK},
{"df", df_main, TOYFLAG_USR|TOYFLAG_SBIN},
{"exit", exit_main, TOYFLAG_NOFORK},
+ {"hello", hello_main, TOYFLAG_NOFORK|TOYFLAG_USR},
{"sh", toysh_main, TOYFLAG_BIN},
{"toysh", toysh_main, TOYFLAG_BIN}
};