aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crontab.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:54:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:54:17 +0100
commitf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch)
tree6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/crontab.c
parentfb4da167114e96d7f20ef97474f976f8ffa604e7 (diff)
downloadbusybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r--miscutils/crontab.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index bcd2eab33..bcd424578 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -18,6 +18,11 @@
//config: Note that Busybox binary must be setuid root for this applet to
//config: work properly.
+/* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */
+//applet:IF_CRONTAB(APPLET(crontab, BB_DIR_USR_BIN, BB_SUID_REQUIRE))
+
+//kbuild:lib-$(CONFIG_CRONTAB) += crontab.o
+
//usage:#define crontab_trivial_usage
//usage: "[-c DIR] [-u USER] [-ler]|[FILE]"
//usage:#define crontab_full_usage "\n\n"