installerconfig: Glob chmod +x for all clawdie-shell-*.sh modules

- Remove individual chmod for legacy gpu-detect.sh (no longer called)
- Replace with loop glob over clawdie-shell-*.sh pattern
- Ensures all present and future shell modules are executable

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Sam & Claude 2026-03-24 01:50:50 +00:00 committed by 123kupola
parent d6d9c7906d
commit 0353ccb9b2

View file

@ -29,8 +29,11 @@ cp -r "${USB_SHARE}/packages" "${HDD_SHARE}/"
cp "${USB_SHARE}/clawdie-ai.tar.gz" "${HDD_SHARE}/"
cp "${USB_SHARE}/build.cfg" "${HDD_SHARE}/"
# Make all firstboot shell modules executable
chmod +x "${HDD_SHARE}/firstboot/firstboot.sh"
chmod +x "${HDD_SHARE}/firstboot/gpu-detect.sh"
for sh in "${HDD_SHARE}/firstboot/clawdie-shell-"*.sh; do
chmod +x "$sh"
done
# Install firstboot rc.d service
mkdir -p "$HDD_RCD"