aboutsummaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorJohn Beppu <beppu@lbox.org>1999-12-10 07:42:50 +0000
committerJohn Beppu <beppu@lbox.org>1999-12-10 07:42:50 +0000
commit3157b1fba9ee8a558b04e9025da9f77e4256c0ea (patch)
tree27ea10d69773a06c8618132a2b76e7583db9da9c /busybox.c
parenta3e0d7928b0042dfe1be94da62b750664306b404 (diff)
downloadbusybox-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.tar.gz
Implemented head(1).
tried to mimic GNU behaviour.
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/busybox.c b/busybox.c
index 4ac907665..f4573019b 100644
--- a/busybox.c
+++ b/busybox.c
@@ -75,6 +75,9 @@ static const struct Applet applets[] = {
#ifdef BB_HALT //sbin
{"halt", halt_main},
#endif
+#ifdef BB_HEAD //bin
+ {"head", head_main},
+#endif
#ifdef BB_HOSTNAME //bin
{"hostname", hostname_main},
#endif