Update femto-usb-config-tool.sh

This commit is contained in:
nagumii 2025-02-26 16:41:17 +02:00
parent 3fe7984082
commit 94ae7aaa1b

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