summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/cron.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox-initscripts/cron.initd')
-rw-r--r--main/busybox-initscripts/cron.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/busybox-initscripts/cron.initd b/main/busybox-initscripts/cron.initd
new file mode 100644
index 000000000..ffae38b80
--- /dev/null
+++ b/main/busybox-initscripts/cron.initd
@@ -0,0 +1,14 @@
+#!/sbin/runscript
+
+start() {
+ ebegin "Starting busybox cron"
+ start-stop-daemon --start --exec /usr/sbin/crond -- $CRON_OPTS
+ eend $?
+}
+
+stop () {
+ ebegin "Stopping busybox cron"
+ start-stop-daemon --stop --exec crond
+ eend $?
+}
+