mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make sure that the /set directive gets put at the top of the file,
instead of in sort order. Slash sorts after period.
This commit is contained in:
parent
d83ed77082
commit
45b2ffd09e
1 changed files with 3 additions and 4 deletions
|
|
@ -500,10 +500,9 @@ fixup_before_diskimage ( ) (
|
|||
if [ -n "${NANO_METALOG}" ]; then
|
||||
pprint 2 "Fixing metalog"
|
||||
cp ${NANO_METALOG} ${NANO_METALOG}.pre
|
||||
(echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" &&
|
||||
cat ${NANO_METALOG}.pre) | \
|
||||
${NANO_TOOLS}/mtree-dedup.awk | \
|
||||
sed -e 's/ size=[0-9][0-9]*//' | sort > ${NANO_METALOG}
|
||||
echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" > ${NANO_METALOG}
|
||||
cat ${NANO_METALOG}.pre | ${NANO_TOOLS}/mtree-dedup.awk | \
|
||||
sed -e 's/ size=[0-9][0-9]*//' | sort >> ${NANO_METALOG}
|
||||
fi
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue