I do something similar. I have a script that installs an image on a new SD card/USB device and preconfigures pretty much everything. It also sets up a "firstrun.sh" style script for the final configuration and stores that in /. That script shows what configuration was used and the time and date it was created during the install process.I touch a new file in boot partition after installation
Code:
#!/bin/bash## System configuration script created 11:05:35 21/09/2024.## Command line:# '-h cam1 --armhf --lite --bookworm --install=rpicam-apps-lite,python3-picamera --wifi=y -a -n'(and more)
Statistics: Posted by rpdom — Fri Oct 25, 2024 8:10 am