From 39701f32649edbd4576397f88a4f9b282f0005d8 Mon Sep 17 00:00:00 2001 From: Oliver Ertl Date: Mon, 2 Jan 2006 20:21:33 +0000 Subject: [PATCH] hopefully last fix for S60cron SVN-Revision: 2812 --- openwrt/package/base-files/default/etc/init.d/S60cron | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron index bd12b8bb781..6069b8177e0 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 -- 2.30.2