etcinstall: make functions more flexible