1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 20:39:49 +03:00

hopefully last fix for S60cron

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2006-01-02 20:21:33 +00:00
parent fa91bb0a6b
commit 5c2da4ca28

View File

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