summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorJohn Beppu1999-12-10 07:42:50 +0000
committerJohn Beppu1999-12-10 07:42:50 +0000
commit3157b1fba9ee8a558b04e9025da9f77e4256c0ea (patch)
tree27ea10d69773a06c8618132a2b76e7583db9da9c /applets
parenta3e0d7928b0042dfe1be94da62b750664306b404 (diff)
downloadbusybox-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.zip
busybox-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.tar.gz
Implemented head(1).
tried to mimic GNU behaviour.
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 4ac9076..f457301 100644
--- a/applets/busybox.c
+++ b/applets/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