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