Check-in [5f60bcc749]
Logged in as anonymous
Overview
Comment:fix multiline
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5f60bcc749bc88571ecd9868191b375db8ff157222800b3b0c5c945d69095f29
User & Date: arcade on 2019-10-23 08:44:54.712
Other Links: manifest | tags
Context
2019-10-23
09:40
create defaults file, mark conditions for later, remove default mrc.conf check-in: 88e0b45310 user: arcade tags: trunk
08:44
fix multiline check-in: 5f60bcc749 user: arcade tags: trunk
07:54
join all init scripts to speed up initialization check-in: 295630c60d user: arcade tags: trunk
Changes
Modified Makefile from [ce3ea9c598] to [44989b1c60].
1
2
3
4
5
6
7
8
.include "/etc/mrc.conf"
.export

OTHER_TARGETS:=_service _earlyservice
STARTER?=svc

.for starter in ${:!find /etc/mrc -name '*.starter.mk'!:S/\/etc\/mrc\///}
.include "${starter}"
|







1
2
3
4
5
6
7
8
.include "/etc/mrc.mk"
.export

OTHER_TARGETS:=_service _earlyservice
STARTER?=svc

.for starter in ${:!find /etc/mrc -name '*.starter.mk'!:S/\/etc\/mrc\///}
.include "${starter}"
Modified init.mk from [7320857c63] to [e3d5ee5d05].
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

122
123
124
125
126
127
128
HOSTNAME?=Amnesiac

hostname:
	echo "MRC:$@> Setting to ${HOSTNAME}."
	hostname ${HOSTNAME}

IFCONFIG_IFACES?=lo0
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}}
	ifconfig ${iface} ${item}
.endfor

.endfor

kld: bootfs
.if defined(KLD_LIST)
	echo "MRC:$@> Loading kernel modules: ${KLD_LIST}"
	kldload -n ${KLD_LIST}
.endif







|




|


>







107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
HOSTNAME?=Amnesiac

hostname:
	echo "MRC:$@> Setting to ${HOSTNAME}."
	hostname ${HOSTNAME}

IFCONFIG_IFACES?=lo0
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}:tW:ts;}
	ifconfig ${iface} ${item}
.endfor
.undef _IFCONFIG_ARGS
.endfor

kld: bootfs
.if defined(KLD_LIST)
	echo "MRC:$@> Loading kernel modules: ${KLD_LIST}"
	kldload -n ${KLD_LIST}
.endif