Changeset 20354


Ignore:
Timestamp:
2010-03-21T18:16:41+01:00 (8 years ago)
Author:
florian
Message:

[package] If /var/spool/cron/crontabs is a directory, then /etc/init.d/cron
will place a spurious "crontabs" symlink into it. Patch fro Stefan Monnier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/busybox/files/cron

    r15481 r20354  
    77        [ -z "$(ls /etc/crontabs/)" ] && exit 1 
    88        mkdir -p /var/spool/cron 
    9         [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs 
     9        ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null 
    1010        crond -c /etc/crontabs -l ${loglevel:-5} 
    1111} 
Note: See TracChangeset for help on using the changeset viewer.