Roy Hodgson made a winning start as Bristol City interim head coach as they recorded a 2-1 victory at Charlton.