V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m49s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-28 19:06:35 +02:00
parent 4ddbea200e
commit eba147e5d2
3 changed files with 10 additions and 3 deletions

View File

@@ -250,10 +250,17 @@ EOF
fi fi
### Footer (always) ### Footer (always).
echo '' >> "${TARGET}/etc/dhcpcd.conf" echo '' >> "${TARGET}/etc/dhcpcd.conf"
echo '# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf' >> "${TARGET}/etc/dhcpcd.conf" echo '# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf' >> "${TARGET}/etc/dhcpcd.conf"
### Check dhcpcd connectivity.
chroot_script "${TARGET}" "
dhcpcd -T ${VAR_FINAL_NIC} | tee -a ${var_logfile}
echo ExitCode: \$? >> ${var_logfile}
"
guard_dir && return 0 guard_dir && return 0
} }
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -32,6 +32,6 @@ export PS1='$( STATUS=$?; \
fi; ) ' fi; ) '
EOF EOF
echo "Successfully executed: [/etc/initramfs-tools/hooks/custom-prompt.sh]." printf "\e[92mSuccessfully executed: [/etc/initramfs-tools/hooks/custom-prompt.sh] \n\e[0m"
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -11,7 +11,7 @@
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
# SPDX-Comment: Enforce merged-/usr symlinks inside the initramfs image. # SPDX-Comment: Enforce merged-/usr symlinks inside the initramfs image.
set -eu set -e
PREREQ="" PREREQ=""
prereqs() { echo "${PREREQ}"; } prereqs() { echo "${PREREQ}"; }