From ae0f1e7052c1a114666632061d45a9b1f9ca3aa3 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 17 Feb 2003 08:23:22 +0000 Subject: New applet sha1sum --- include/applets.h | 3 +++ include/usage.h | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index 6c274825c..a4d272746 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 9616906d2..8fc12f151 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 \ -- cgit v1.2.3