From dec2e70c98af1105a0fb218eeb9633c02e7ae74e Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 11 Dec 2005 22:00:56 +0000 Subject: create /var/spool/cron in cron init script and change the default crontab location to /etc/crontabs (fixes #88) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/etc/init.d/S60cron | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openwrt/package/base-files/default') diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron index ed43e743d..6647fe1bc 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 +} -- cgit v1.2.3