Update femto-runonce.sh

This commit is contained in:
nagumii 2025-01-24 22:35:16 +02:00
parent a1015ed361
commit bde2c9b59a

View file

@ -4,7 +4,7 @@ log_message() {
logger "First boot: $1" # Log to the system log
}
set -x
if grep -qE '^first_boot=false' /etc/femto.conf; then # if not the first boot
if ! grep -qE '^first_boot=true' /etc/femto.conf; then # if not the first boot
echo "*****************************************"
echo "boot flag is false"
echo "*****************************************"