From 5c2da4ca28dad36ab6e58b85b2eddc003b25feec Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 2 Jan 2006 20:21:33 +0000 Subject: hopefully last fix for S60cron git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/etc/init.d/S60cron | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'openwrt/package/base-files/default') 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 -- cgit v1.2.3