mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
localnet: Correctly set domain name
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -40,7 +40,7 @@ case "${1}" in
|
||||
hostname ${HOSTNAME}
|
||||
evaluate_retval
|
||||
|
||||
if [ -z "$DOMAINNAME" ]; then
|
||||
if [ -n "$DOMAINNAME" ]; then
|
||||
boot_mesg "Setting domainname to ${DOMAINNAME}..."
|
||||
domainname ${DOMAINNAME}
|
||||
evaluate_retval
|
||||
|
||||
Reference in New Issue
Block a user