mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-20 06:56:29 -05:00
commit
fe0de2a02c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue