summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/init.d/S60cron
blob: 6069b8177e01e9cc422eede862d1f3e922104242 (plain)
1
2
3
4
5
6
#!/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