openwrtv3/openwrt/package/base-files/default/etc/init.d/S60cron

9 lines
184 B
Text
Raw Normal View History

#!/bin/sh
[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
[ -e /var/spool/cron/crontabs ] && {
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron
}
crond -c /etc/crontabs