openwrtv3/openwrt/package/base-files/default/etc/init.d/S60cron
Oliver Ertl 39701f3264 hopefully last fix for S60cron
SVN-Revision: 2812
2006-01-02 20:21:33 +00:00

6 lines
208 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/crontabs
} && crond -c /etc/crontabs