From: olli Date: Mon, 2 Jan 2006 20:21:33 +0000 (+0000) Subject: hopefully last fix for S60cron X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/5c2da4ca28dad36ab6e58b85b2eddc003b25feec hopefully last fix for S60cron git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron index bd12b8bb7..6069b8177 100755 --- a/openwrt/package/base-files/default/etc/init.d/S60cron +++ b/openwrt/package/base-files/default/etc/init.d/S60cron @@ -1,8 +1,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 -} - crond -c /etc/crontabs +[ -e /var/spool/cron/crontabs ] || { + mkdir -p /var/spool/cron + ln -s /etc/crontabs /var/spool/cron/crontabs +} && crond -c /etc/crontabs