diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-11 22:00:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-11 22:00:56 +0000 |
commit | 0b535c275daf19abbfab30a83f57182a9d42f892 (patch) | |
tree | c6f1a8af9108014579b3ede98ba377769a645d33 /package/base-files | |
parent | 62872ac3a34fb845a6608c47e7521ec05c8c7ea9 (diff) |
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
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/default/etc/init.d/S60cron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S60cron b/package/base-files/default/etc/init.d/S60cron index ed43e743d..6647fe1bc 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 +} |