From b1fc816baef861a2447570eb0426166f1c73b316 Mon Sep 17 00:00:00 2001 From: nagumii Date: Fri, 24 Jan 2025 22:32:34 +0200 Subject: [PATCH] add debug --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh index 35b1b95..f11dcc0 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh @@ -3,7 +3,7 @@ log_message() { echo -e "\e[32mFirst boot\e[0m: $1" # Echo to the screen 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 echo "*****************************************" echo "boot flag is false"