hopefully last fix for S60cron
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
bd8bd01e55
commit
367c1dad13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue