machineenv — set the "machine" environment variables from the dynamic values
machineenv
{next-prog
}
machineenv is a chain-loading utility that sets environment variables and then chain loads to next-prog
with the execvp(3) function.
next-prog
may contain its own command line options, which machineenv will ignore.
The following environment variables are set:
MACHINEID
Set to the human-readable hexadecimal non-punctuated form of the machine ID, for details on which see setup-machine-id(1).
HOSTNAME
Set to the dynamic "host" name, as initialized by set-dynamic-hostname(1) (for example) and obtained by the gethostname(2) function.
DOMAINNAME
Set to the dynamic "domain" name, as obtained by the getdomainname(2) function.