diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 6 | ||||
-rw-r--r-- | include/usage.h | 24 |
2 files changed, 30 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e593420..de393be 100644 --- a/include/applets.h +++ b/include/applets.h @@ -107,6 +107,12 @@ #ifdef CONFIG_CPIO APPLET(cpio, cpio_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef BB_CROND + APPLET(crond, crond_main, _BB_DIR_USR_SBIN) +#endif +#ifdef BB_CRONTAB + APPLET(crontab, crontab_main, _BB_DIR_USR_BIN) +#endif #ifdef CONFIG_CUT APPLET(cut, cut_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 3243415..e5a1672 100644 --- a/include/usage.h +++ b/include/usage.h @@ -186,6 +186,30 @@ "\tu\t\tunconditional overwrite\n" \ "\tF\t\tinput from file" +#define crond_trivial_usage \ + "-d[#] -c <crondir> -f -b" +#define crond_full_usage \ + "\t-d [#] -l [#] -S -L logfile -f -b -c dir\n" \ + "\t-d num\tdebug level\n" \ + "\t-l num\tlog level (8 - default)\n" \ + "\t-S\tlog to syslod (defualt)\n" \ + "\t-L file\tlog to file\n" \ + "\t-f\trun in fordeground\n" \ + "\t-b\trun in background (default)\n" \ + "\t-c dir\tworking dir" + +#define crontab_trivial_usage \ + "crontab [-c dir] {file|-}|[-u|-l|-e|-d user]" +#define crontab_full_usage \ + "\tfile <opts> replace crontab from file\n" \ + "\t- <opts> replace crontab from stdin\n" \ + "\t-u user specify user\n" \ + "\t-l [user] list crontab for user\n" \ + "\t-e [user] edit crontab for user\n" \ + "\t-d [user] delete crontab for user\n" \ + "\t-c dir specify crontab directory" + + #define cut_trivial_usage \ "[OPTION]... [FILE]..." #define cut_full_usage \ |