openwrtv4/package/base-files/default/etc/init.d/S60cron
2016-03-20 17:29:15 +01:00

12 lines
195 B
Bash
Executable file

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
start () {
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs
}
stop() {
killall crond
}