Correct initial rsnapshot config adjustment (again)
This commit is contained in:
parent
460d545a40
commit
33f85d5d93
|
@ -144,7 +144,7 @@ if [[ $MODE == "install" ]]; then
|
||||||
$CP ./server/bkp/etc/* "$BKP_DIR"/etc/
|
$CP ./server/bkp/etc/* "$BKP_DIR"/etc/
|
||||||
# Correct command paths in rsnapshot config for Synology DSM
|
# Correct command paths in rsnapshot config for Synology DSM
|
||||||
if [[ "$DISTRIBUTION" == "Synology" ]]; then
|
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
|
fi
|
||||||
|
|
||||||
# Create symlink for chroot
|
# Create symlink for chroot
|
||||||
|
|
Loading…
Reference in New Issue