Openwrt/openwrt/package/base-files/default/etc/init.d/S60cron
Florian Fainelli bdba638725 Corrected ticket #168
SVN-Revision: 2805
2006-01-02 13:16:32 +00:00

9 lines
184 B
Bash
Executable File

#!/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