thinrasp/etc_org/init/hostname.conf
2019-11-26 21:36:24 +01:00

13 lines
284 B
Plaintext

#
# This task is run on startup to set the system hostname from /etc/hostname,
# falling back to "localhost" if that file is not readable or is empty and
# no hostname has yet been set.
description "set system hostname"
start on startup
task
exec hostname -b -F /etc/hostname