Merge pull request #254 from femtofox/new_working

remove commenting #
This commit is contained in:
noon92 2025-01-24 21:51:45 +02:00 • committed by GitHub
commit fe0de2a02c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -4,9 +4,9 @@ log_message() {
logger "First boot: $1" # Log to the system log
}
if grep -qE '^first_boot=false' /etc/femto.conf; then
if grep -qE '^first_boot=false' /etc/femto.conf; then # if not the first boot
who | grep -q . || exit 0
who | grep -q . || exit 0 # if not logged in, exit script. May not deal well with future web UI
# prevents weirdness over tty
export NCURSES_NO_UTF8_ACS=1

View file

@ -16,7 +16,7 @@ log_message() {
if grep -qE '^first_boot=true' /etc/femto.conf; then
log_message "First boot, skipping USB Configuration Tool."
#exit 0
exit 0
fi
exit_script() {