From 3fe927c19c9a49ee5fec05135d9bcf726d05c2cc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 10 Jun 2009 20:05:21 +0000 Subject: core/busybox-initscripts: new aport We move many scripts from alpine-baselayout to this package. --- core/busybox-initscripts/cron.initd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/busybox-initscripts/cron.initd (limited to 'core/busybox-initscripts/cron.initd') diff --git a/core/busybox-initscripts/cron.initd b/core/busybox-initscripts/cron.initd new file mode 100644 index 0000000000..ffae38b806 --- /dev/null +++ b/core/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 $? +} + -- cgit v1.2.3