1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 20:56:16 +02:00
openwrt-xburst/openwrt/package/base-files/default/etc/init.d/S60cron

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