Corrected ticket #168

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2805 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2006-01-02 13:16:32 +00:00
parent da4fd6947d
commit a21254de1a

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