Correct initial rsnapshot config adjustment (again)

This commit is contained in:
Janek Bevendorff 2014-10-05 16:23:58 +02:00
parent 460d545a40
commit 33f85d5d93
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ if [[ $MODE == "install" ]]; then
$CP ./server/bkp/etc/* "$BKP_DIR"/etc/
# Correct command paths in rsnapshot config for Synology DSM
if [[ "$DISTRIBUTION" == "Synology" ]]; then
sed -i "s#/usr/bin/\(cp\|rm\|rsync\)\$#/opt/bin/\1#" "$BKP_DIR"/etc/rs-backup/rsnapshot.global.conf
sed -i "s#/usr/bin/\(cp\|rm\|rsync\)\$#/opt/bin/\1#" "$BKP_DIR"/etc/rsnapshot.global.conf
fi
# Create symlink for chroot