Lines 39-45
Link Here
|
39 |
# for which memory filesystems will be created and filled, |
39 |
# for which memory filesystems will be created and filled, |
40 |
# and T is one of the "template" directories below: |
40 |
# and T is one of the "template" directories below: |
41 |
# |
41 |
# |
42 |
# base universal base, typically a replica of the original root; |
42 |
# base.${rel} universal base for the given major release, typically a |
|
|
43 |
# replica of the original root; |
44 |
# base universal base, typically a replica of the original root, |
45 |
# effective only if base.${rel} does not exist; |
43 |
# default secondary universal base, typically overriding some |
46 |
# default secondary universal base, typically overriding some |
44 |
# of the files in the original root; |
47 |
# of the files in the original root; |
45 |
# ${ipba} where ${ipba} is the assigned broadcast IP address |
48 |
# ${ipba} where ${ipba} is the assigned broadcast IP address |
Lines 53-59
Link Here
|
53 |
# ip/${ip} same as above |
56 |
# ip/${ip} same as above |
54 |
# |
57 |
# |
55 |
# Template directories are scanned in the order they are listed above, |
58 |
# Template directories are scanned in the order they are listed above, |
56 |
# with each successive directory overriding (merged into) the previous one; |
59 |
# with each successive directory overriding (merged into) the previous one |
|
|
60 |
# (except in the case of the base directory, where the release-specific |
61 |
# base is chosen if exists to help multiple major releases to work together); |
57 |
# non-existing directories are ignored. The subdirectory forms exist to |
62 |
# non-existing directories are ignored. The subdirectory forms exist to |
58 |
# help keep the top level /conf manageable in large installations. |
63 |
# help keep the top level /conf manageable in large installations. |
59 |
# |
64 |
# |
Lines 261-267
Link Here
|
261 |
done |
266 |
done |
262 |
|
267 |
|
263 |
# The list of directories with template files |
268 |
# The list of directories with template files |
264 |
templates="base default" |
269 |
templates="default" |
265 |
if [ -n "${bootp_ipbca}" ]; then |
270 |
if [ -n "${bootp_ipbca}" ]; then |
266 |
templates="${templates} ${bootp_ipbca} bcast/${bootp_ipbca}" |
271 |
templates="${templates} ${bootp_ipbca} bcast/${bootp_ipbca}" |
267 |
fi |
272 |
fi |
Lines 275-281
Link Here
|
275 |
# If /conf/diskless_remount exists, remount all of /conf. |
280 |
# If /conf/diskless_remount exists, remount all of /conf. |
276 |
handle_remount /conf |
281 |
handle_remount /conf |
277 |
|
282 |
|
278 |
# Resolve templates in /conf/base, /conf/default, /conf/${bootp_ipbca}, |
283 |
# Extract the major revision from uname |
|
|
284 |
rel=`expr \`uname -r\` : '\(.\)'` |
285 |
# If we have a "base.${rel}" directory, use that as base, otherwise fall back |
286 |
# to "base" |
287 |
if [ -d "/conf/base.${rel}" ]; then |
288 |
templates="base.${rel} ${templates}" |
289 |
else |
290 |
templates="base ${templates}" |
291 |
fi |
292 |
|
293 |
# Resolve templates in /conf/base[.${rel}], /conf/default, /conf/${bootp_ipbca}, |
279 |
# and /conf/${bootp_ipa}. For each subdirectory found within these |
294 |
# and /conf/${bootp_ipa}. For each subdirectory found within these |
280 |
# directories: |
295 |
# directories: |
281 |
# |
296 |
# |