Corrected ticket #168

SVN-Revision: 2805
lede-17.01
Florian Fainelli 2006-01-02 13:16:32 +00:00
parent e5ff967531
commit bdba638725
1 changed files with 5 additions and 2 deletions

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