#!/bin/bash

hostname_config() {
	domain_portion=$(echo "${new_host_name}" | cut -s -d. -f2-)
	[ -n "${domain_portion}" ] || return
	[ -z "${new_domain_name}" ] || hostname "${new_host_name}.${new_domain_name}"
}

hostname_restore() {
	# nothing to do
	:
}

