1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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:
nbd
2005-12-11 22:00:56 +00:00
parent 62872ac3a3
commit 0b535c275d
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
}