explicitely backup main.cf configuration even though we don't replace

it totally

See: #1029
This commit is contained in:
Antoine Beaupré 2008-10-06 22:20:48 +00:00
parent 77ddb5002f
commit 704bc022ec
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ for file in $CONFIG_FILES; do
fi
done
# also backup main.cf since we're doing major changes to it
BACKUPS="$BACKUPS etc/postfix/main.cf"
tar -zcf "$BACKUP_FILE" -C / $BACKUPS 2>/dev/null || true
#######################################################################