Changeset 10292


Ignore:
Timestamp:
2008-01-28T18:23:22+01:00 (8 years ago)
Author:
blogic
Message:

only start crond if there are files in the crontab

File:
1 edited

Legend:

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

    r7704 r10292  
    44 
    55start () { 
     6        [ -z $(ls /etc/crontabs/) ] && exit 1 
    67        mkdir -p /var/spool/cron 
    78        [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs 
Note: See TracChangeset for help on using the changeset viewer.