Do not run usb tool on first boot.

Checks for first boot flag and exits gracefully.
This commit is contained in:
Ruledo 2025-01-19 23:16:12 -08:00
parent eba5b4c217
commit 2e8a3f7136

View file

@ -1,4 +1,8 @@
#!/bin/bash
if [ ! -e "/etc/.firstboot" ]; then
exit 0
mount_point="/mnt/usb" # Set the mount point
# Function to log to screen, syslog and logfile to be saved to usb drive