etcinstall: move .etc prefix into functions