From 333d877eb1d1ff70bcc29ddcf6dd2ef0e92a2932 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/openwrt@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/etc/init.d/S60cron | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'package') diff --git a/package/base-files/default/etc/init.d/S60cron b/package/base-files/default/etc/init.d/S60cron index bd12b8bb7..6069b8177 100755 --- a/package/base-files/default/etc/init.d/S60cron +++ b/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