Add sysconfig to list of cpio floppy targets.

This commit is contained in:
Jordan K. Hubbard 1995-03-25 04:53:39 +00:00
parent 3ed8a40336
commit cbec1346b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7343

View File

@ -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.5 1995/03/18 08:04:18 phk Exp $
# $Id: netinst.sh,v 1.6 1995/03/24 00:23:18 jkh Exp $
if [ "${_NETINST_SH_LOADED_}" = "yes" ]; then
return 0
@ -48,8 +48,8 @@ network_basic_setup()
HOSTNAME=${ANSWER}
fi
done
sed -e "s/hostname=.\*\$/hostname=${HOSTNAME}/" < etc/sysconfig \
> etc/sysconfig.new && mv etc/sysconfig.new etc/sysconfig
sed -e "s/hostname=.\*\$/hostname=${HOSTNAME}/" < /etc/sysconfig \
> /etc/sysconfig.new && mv /etc/sysconfig.new /etc/sysconfig
${HOSTNAME_CMD} ${HOSTNAME}
DEFAULT_VALUE=`echo ${HOSTNAME} | sed -e 's/[^.]*\.//'`