mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 18:54:52 +00:00
Try one theory about why the domain name isn't being default right now.
This commit is contained in:
parent
50bd4cabd3
commit
31892b894c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6019
|
@ -10,7 +10,7 @@
|
|||
# putting your name on top after doing something trivial like reindenting
|
||||
# it, just to make it look like you wrote it!).
|
||||
#
|
||||
# $Id: netinst.sh,v 1.1 1995/01/14 07:41:52 jkh Exp $
|
||||
# $Id: netinst.sh,v 1.2 1995/01/28 01:18:43 jkh Exp $
|
||||
|
||||
if [ "${_NETINST_SH_LOADED_}" = "yes" ]; then
|
||||
return 0
|
||||
|
@ -51,7 +51,7 @@ network_basic_setup()
|
|||
echo ${HOSTNAME} > ${ETC}/myname
|
||||
${HOSTNAME_CMD} ${HOSTNAME}
|
||||
|
||||
DEFAULT_VALUE=`echo ${HOSTNAME} | sed -e 's/[^.]*\.//' | grep \.`
|
||||
DEFAULT_VALUE=`echo ${HOSTNAME} | sed -e 's/[^.]*\.//'`
|
||||
if network_dialog "What is the domain name of this host (Internet, not YP/NIS)?"; then
|
||||
DOMAIN=${ANSWER}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue