diff options
Diffstat (limited to 'openwrt/package/base-files/default')
-rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S60cron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron index ed43e743d0..6647fe1bc0 100755 --- a/openwrt/package/base-files/default/etc/init.d/S60cron +++ b/openwrt/package/base-files/default/etc/init.d/S60cron @@ -1,2 +1,5 @@ #!/bin/sh -[ -d /etc/crontabs ] && crond -c /etc/crontabs +[ -d /etc/crontabs ] && { + mkdir -p /var/spool/cron + crond -c /etc/crontabs +} |