Added 2nd try to rsync when the 1st attempt fails to cache the burn image properly.
[backups/.git] / scripts / cron-burn.sh
1 #!/bin/sh
2
3 export PATH=$(dirname $0):/bin:/usr/bin:/sbin
4
5 # source the default configuration
6 . config.sh
7
8 # source the system specific configuration
9 [ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
10
11 # burn-imgs.sh needs to be detached so that it can stop and start cron without
12 # dying itself.
13
14 setsid burn-imgs.sh