Corrected ticket #168

SVN-Revision: 2805
This commit is contained in:
Florian Fainelli 2006-01-02 13:16:32 +00:00
parent e5ff967531
commit bdba638725

View file

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