summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-22 12:24:59 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-22 12:24:59 +0000
commitf6f7bfb8e0a257137f8c2dad83ae4ed826b4e4bb (patch)
tree7ea00c66d341d324294df54238acff2c1795d72b /include
parent44608e9693b03661fbab5e27650bb040c6871d11 (diff)
downloadbusybox-w32-f6f7bfb8e0a257137f8c2dad83ae4ed826b4e4bb.tar.gz
busybox-w32-f6f7bfb8e0a257137f8c2dad83ae4ed826b4e4bb.tar.bz2
busybox-w32-f6f7bfb8e0a257137f8c2dad83ae4ed826b4e4bb.zip
last_patch63 from vodz: add in crond and crontab applets
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
-rw-r--r--include/usage.h24
2 files changed, 30 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index e59342051..de393be8f 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -107,6 +107,12 @@
107#ifdef CONFIG_CPIO 107#ifdef CONFIG_CPIO
108 APPLET(cpio, cpio_main, _BB_DIR_BIN, _BB_SUID_NEVER) 108 APPLET(cpio, cpio_main, _BB_DIR_BIN, _BB_SUID_NEVER)
109#endif 109#endif
110#ifdef BB_CROND
111 APPLET(crond, crond_main, _BB_DIR_USR_SBIN)
112#endif
113#ifdef BB_CRONTAB
114 APPLET(crontab, crontab_main, _BB_DIR_USR_BIN)
115#endif
110#ifdef CONFIG_CUT 116#ifdef CONFIG_CUT
111 APPLET(cut, cut_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 117 APPLET(cut, cut_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
112#endif 118#endif
diff --git a/include/usage.h b/include/usage.h
index 324341524..e5a1672d8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -186,6 +186,30 @@
186 "\tu\t\tunconditional overwrite\n" \ 186 "\tu\t\tunconditional overwrite\n" \
187 "\tF\t\tinput from file" 187 "\tF\t\tinput from file"
188 188
189#define crond_trivial_usage \
190 "-d[#] -c <crondir> -f -b"
191#define crond_full_usage \
192 "\t-d [#] -l [#] -S -L logfile -f -b -c dir\n" \
193 "\t-d num\tdebug level\n" \
194 "\t-l num\tlog level (8 - default)\n" \
195 "\t-S\tlog to syslod (defualt)\n" \
196 "\t-L file\tlog to file\n" \
197 "\t-f\trun in fordeground\n" \
198 "\t-b\trun in background (default)\n" \
199 "\t-c dir\tworking dir"
200
201#define crontab_trivial_usage \
202 "crontab [-c dir] {file|-}|[-u|-l|-e|-d user]"
203#define crontab_full_usage \
204 "\tfile <opts> replace crontab from file\n" \
205 "\t- <opts> replace crontab from stdin\n" \
206 "\t-u user specify user\n" \
207 "\t-l [user] list crontab for user\n" \
208 "\t-e [user] edit crontab for user\n" \
209 "\t-d [user] delete crontab for user\n" \
210 "\t-c dir specify crontab directory"
211
212
189#define cut_trivial_usage \ 213#define cut_trivial_usage \
190 "[OPTION]... [FILE]..." 214 "[OPTION]... [FILE]..."
191#define cut_full_usage \ 215#define cut_full_usage \