aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/cron.initd
blob: 8175bdf2d094eed03cb20be6efe94b530a8266fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript

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 $?
}