init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt/svn-archive/archive.git] / package / base-files / default / etc / init.d / cron
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 start () {
5 mkdir -p /var/spool/cron
6 ln -s /etc/crontabs /var/spool/cron/crontabs
7 crond -c /etc/crontabs
8 }
9
10 stop() {
11 killall crond
12 }