mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-25 17:36:29 -05:00
Merge pull request #369 from femtofox/noon2
Fix usb-config config first boot check
This commit is contained in:
commit
fb33c3af1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue