diff --git a/rear.cron b/rear.cron index b0fbf27..b4dbce1 100644 --- a/rear.cron +++ b/rear.cron @@ -1,4 +1,4 @@ # cronjob for ReaR # periodically check if disk layout has changed and update # the rescue image -30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue +30 1 * * * root test -f /var/lib/rear/layout/disklayout.conf && /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue