hopefully last fix for S60cron

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
OpenWrt Developers 2006-01-02 20:21:33 +00:00
parent bd8bd01e55
commit 367c1dad13
1 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,6 @@
#!/bin/sh
[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
[ -e /var/spool/cron/crontabs ] && {
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron
}
crond -c /etc/crontabs
[ -e /var/spool/cron/crontabs ] || {
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/crontabs
} && crond -c /etc/crontabs