diff options
author | olli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-02 20:21:33 +0000 |
---|---|---|
committer | olli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-02 20:21:33 +0000 |
commit | 5c2da4ca28dad36ab6e58b85b2eddc003b25feec (patch) | |
tree | 7f2ef11b6c0816869469a26fccc7f8f61cb675a2 /openwrt/package | |
parent | fa91bb0a6b2f2080bffb619beb84e9ae9e922a16 (diff) |
hopefully last fix for S60cron
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S60cron | 10 |
1 files 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 bd12b8bb78..6069b8177e 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 |