Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5105

Raspberry Pi OS • Re: How to determine when a system was installed?

$
0
0
I touch a new file in boot partition after installation
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.

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



Viewing all articles
Browse latest Browse all 5105

Trending Articles