diff options
Diffstat (limited to 'main/busybox-initscripts/cron.initd')
-rw-r--r-- | main/busybox-initscripts/cron.initd | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/main/busybox-initscripts/cron.initd b/main/busybox-initscripts/cron.initd index 8175bdf2d0..1dc310147a 100644 --- a/main/busybox-initscripts/cron.initd +++ b/main/busybox-initscripts/cron.initd @@ -1,19 +1,11 @@ #!/sbin/runscript +name="busybox cron" +command="/usr/sbin/crond" +pidfile="/var/run/crond.pid" +command_args="$CRON_OPTS" + depend() { need localmount need logger } - -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 /usr/sbin/crond - eend $? -} - |