This commit is contained in:
teldra 2021-05-09 21:56:13 +02:00
parent f3b440aa21
commit 3976d81df8
2 changed files with 4 additions and 1 deletions

View File

@ -24,18 +24,19 @@ fi
export run="config"
for i in $(find "${step}1" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
echo $i
test -f "${i}" && source "${i}"
done
export run="postconfig"
for i in $(find "${step}2" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
echo $i
test -f "${i}" && source "${i}"
done
mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc
cp -rf /etc/resolv.conf "${dest}"/etc
cp -rf "${vars}" "${dest}"/tmp/installer/tmp
#rm -rf "${vars}"
cp -rf "${step}3" "${dest}"/tmp/installer
cp -rf "${step}4" "${dest}"/tmp/installer
cp -rf "${files}" "${dest}"/tmp/installer

View File

@ -28,10 +28,12 @@ done
export run="install"
for i in $(find "${step}3" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
echo $i
test -f "${i}" && source "${i}"
done
export run="post"
for i in $(find "${step}3" -mindepth 1 -maxdepth 1 -type f | sort -n); do
echo $i
test -f "${i}" && source "${i}"
done