summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2003-02-17 08:23:22 +0000
committerGlenn L McGrath2003-02-17 08:23:22 +0000
commitae0f1e7052c1a114666632061d45a9b1f9ca3aa3 (patch)
tree70f0f36e92490955a940bc7c27f0358c41d356f5 /include
parent4a4c677fccabdcd6db509488c9cb5d784afaa59d (diff)
downloadbusybox-ae0f1e7052c1a114666632061d45a9b1f9ca3aa3.zip
busybox-ae0f1e7052c1a114666632061d45a9b1f9ca3aa3.tar.gz
New applet sha1sum
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 6c27482..a4d2727 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -487,6 +487,9 @@
#elif defined(CONFIG_FEATURE_SH_IS_MSH) && defined(CONFIG_MSH)
APPLET_NOUSAGE("sh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_SHA1SUM
+ APPLET(sha1sum, sha1sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_SLEEP
APPLET(sleep, sleep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 9616906..8fc12f1 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1859,6 +1859,11 @@
"use ash or bash. If you just need a very simple and extremely small shell,\n" \
"this will do the job."
+#define sha1sum_trivial_usage \
+ "[OPTION] [FILE]"
+#define sha1sum_full_usage \
+ "[OPTION] [FILE]"
+
#define sleep_trivial_usage \
"N"
#define sleep_full_usage \