Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -1,6 +1,6 @@ -.include "/etc/mrc.conf" +.include "/etc/mrc.mk" .export OTHER_TARGETS:=_service _earlyservice STARTER?=svc Index: init.mk ================================================================== --- init.mk +++ init.mk @@ -109,18 +109,19 @@ hostname: echo "MRC:$@> Setting to ${HOSTNAME}." hostname ${HOSTNAME} IFCONFIG_IFACES?=lo0 -IFCONFIG_lo0?="inet 127.0.0.1/8 up" +IFCONFIG_lo0?=inet 127.0.0.1/8 up ifconfig: adjkerntz wlans cloned kld echo "MRC:$@> Starting interfaces: ${IFCONFIG_IFACES}" .for iface in ${IFCONFIG_IFACES} -.for item in ${IFCONFIG_${iface}} +.for item in ${IFCONFIG_${iface}:tW:ts;} ifconfig ${iface} ${item} .endfor +.undef _IFCONFIG_ARGS .endfor kld: bootfs .if defined(KLD_LIST) echo "MRC:$@> Loading kernel modules: ${KLD_LIST}"