backup_diff.sh, backup_full.sh: Updated for new dar versions, added FreeBSD compatibility
authorMegaBrutal <code+git@megabrutal.com>
Mon, 15 Feb 2016 22:10:00 +0000 (23:10 +0100)
committerMegaBrutal <code+git@megabrutal.com>
Mon, 15 Feb 2016 22:10:00 +0000 (23:10 +0100)
commit01c921fc99670f3facfb741019d2403581af96ba
treed784e1b66bb1cd2c64b1fc35d7074dacde4448cb
parentc4a9a2974642f49a20d4217b8c457cfb4db10ea2
backup_diff.sh, backup_full.sh: Updated for new dar versions, added FreeBSD compatibility

- In dar invocations, changed the "-y9" switch to "-zbzip2:9", as recent
versions of dar don't recognize the former argument. Both arguments mean
the same, though: bzip2 compression on level 9 (best).

- FreeBSD doesn't have the md5sum utility to calculate checksums, thus
FreeBSD's md5 utility is used instead.

modified:   fs/backup_diff.sh
modified:   fs/backup_full.sh
fs/backup_diff.sh
fs/backup_full.sh