From 0b535c275daf19abbfab30a83f57182a9d42f892 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/openwrt@2621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/etc/init.d/S60cron | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/base-files') diff --git a/package/base-files/default/etc/init.d/S60cron b/package/base-files/default/etc/init.d/S60cron index ed43e743d0..6647fe1bc0 100755 --- a/package/base-files/default/etc/init.d/S60cron +++ b/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