diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-02 13:16:32 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-02 13:16:32 +0000 |
commit | 321a78f6a801e39007f353694d0a815fae678f2b (patch) | |
tree | 1f76cacb9f1521d0cdec10adc67c980fb1984486 /package | |
parent | b84cbec3d15925669f048dca96bddd403e3a4b88 (diff) |
Corrected ticket #168
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2805 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/default/etc/init.d/S60cron | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/base-files/default/etc/init.d/S60cron b/package/base-files/default/etc/init.d/S60cron index 6647fe1bc..bd12b8bb7 100755 --- a/package/base-files/default/etc/init.d/S60cron +++ b/package/base-files/default/etc/init.d/S60cron @@ -1,5 +1,8 @@ #!/bin/sh -[ -d /etc/crontabs ] && { +[ -d /etc/crontabs ] || mkdir -p /etc/crontabs + +[ -e /var/spool/cron/crontabs ] && { mkdir -p /var/spool/cron - crond -c /etc/crontabs + ln -s /etc/crontabs /var/spool/cron } + crond -c /etc/crontabs |