e78d02332cd3881d06ae6d905793709123e0f286
[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 [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
7 crond -c /etc/crontabs
8 }
9
10 stop() {
11 killall crond
12 }