Configuration script


Hi. I don't know if this has been asked before, so please bear with me.
Some friends have asked me to help them configure the server. And since having to do this all the time is a nuisance I wonder: is there a way to add a configuration file (something like the wpa_supplicant does with the hotspot) to the sd card so that the installation is automated?
Thank you