add modules/initial/001-hostname.sh

idempotent script which: sets dynamic hostname if different from
HOSTNAME config variable, adds hostname=$HOSTNAME line to rc.conf
if there is no hostname= line in rc.conf or sets hostname=HOSTNAME
in rc.conf if the value of hostname= is different from config
variable.