The board of commissioners shall appoint a county attorney to serve at its pleasure and to be its legal adviser. (1973, c. 822, s. 1.)