minor change
This commit is contained in:
parent
dacc7d8af7
commit
bbaa32bb27
@ -25,8 +25,7 @@
|
|||||||
|
|
||||||
for opt; do case "${opt%%=*}" in
|
for opt; do case "${opt%%=*}" in
|
||||||
key | header)
|
key | header)
|
||||||
cp "${opt#*=}" "${tmpdir}/root/${opt%%=*}"
|
copy_file "${opt#*=}" "/root/${opt%%=*}" 400 0
|
||||||
chmod 400 "${tmpdir}/root/${opt%%=*}"
|
|
||||||
|
|
||||||
sed "s|${opt#*=}|/root/${opt%%=*}|" \
|
sed "s|${opt#*=}|/root/${opt%%=*}|" \
|
||||||
"${tmpdir}/etc/tinyramfs/config" > "${tmpdir}/_"
|
"${tmpdir}/etc/tinyramfs/config" > "${tmpdir}/_"
|
||||||
|
Loading…
Reference in New Issue
Block a user