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

depend() {
	need localmount
}

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