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
This commit is contained in:
Felix Fietkau
2005-12-11 22:00:56 +00:00
parent c4b2329934
commit 696c05bcfe
2 changed files with 28 additions and 1 deletions

View File

@@ -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
}