Merge pull request #369 from femtofox/noon2

Fix usb-config config first boot check
This commit is contained in:
noon92 2025-02-26 18:09:16 +02:00 • committed by GitHub
commit fb33c3af1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ log_message() {
echo "$(date +"%Y-%m-%d %H:%M:%S") $1" >> /tmp/femtofox-config.log
}
if grep -qE '^first_boot=true' /etc/femto.conf; then
if systemctl is-enabled femto-runonce &>/dev/null; then
log_message "First boot, skipping USB Configuration Tool."
exit 0
fi