13 lines
284 B
Plaintext
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
|
|
|