Date: Sun, 1 Jun 2014 20:08:09 GMT From: kczekirda@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r268928 - soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts Message-ID: <201406012008.s51K89c3094979@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kczekirda Date: Sun Jun 1 20:08:09 2014 New Revision: 268928 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=268928 Log: manual ipv4 Modified: soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script Modified: soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script ============================================================================== --- soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script Sun Jun 1 20:08:04 2014 (r268927) +++ soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script Sun Jun 1 20:08:09 2014 (r268928) @@ -171,11 +171,13 @@ if [ "$DHCP" = "YES" ]; then echo "ifconfig_$INTERFACE=\"DHCP\"" >> $BSDINSTALL_TMPETC/rc.conf.network fi + + if [ "$DHCP" = "NO" ]; then + echo "ifconfig_$INTERFACE=\"inet $ADDRESSV4 netmask $NETMASK\"" >> $BSDINSTALL_TMPETC/rc.conf.network + echo "defaultrouter=\"$GWV4\"" >> $BSDINSTALL_TMPETC/rc.conf.network + fi fi -# ADDRESSV4 -# NETMASK -# GWV4 # DOMAIN # DNS1V4 # DNS2V4
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406012008.s51K89c3094979>