Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf Allow config file to override ho...
details: https://anonhg.NetBSD.org/src/rev/046eece5f8fb
branches: trunk
changeset: 933588:046eece5f8fb
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 28 10:19:02 2020 +0000
description:
Allow config file to override hostname
diffstat:
distrib/utils/embedded/conf/evbarm.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8eade1383308 -r 046eece5f8fb distrib/utils/embedded/conf/evbarm.conf
--- a/distrib/utils/embedded/conf/evbarm.conf Thu May 28 07:59:38 2020 +0000
+++ b/distrib/utils/embedded/conf/evbarm.conf Thu May 28 10:19:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: evbarm.conf,v 1.35 2020/05/24 14:45:49 jmcneill Exp $
+# $NetBSD: evbarm.conf,v 1.36 2020/05/28 10:19:02 jmcneill Exp $
# evbarm shared config
#
image=$HOME/${board}.img
@@ -151,7 +151,7 @@
}
rc_configured=YES
-hostname=${board}
+hostname=${hostname:-${board}}
no_swap=YES
savecore=NO
sshd=YES
Home |
Main Index |
Thread Index |
Old Index