#!/bin/sh
-[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
+# Copyright (C) 2006 OpenWrt.org
-[ -e /var/spool/cron/crontabs ] && {
- mkdir -p /var/spool/cron
- ln -s /etc/crontabs /var/spool/cron
-}
- crond -c /etc/crontabs
+mkdir -p /var/spool/cron
+ln -s /etc/crontabs /var/spool/cron/crontabs
+crond -c /etc/crontabs