Typo in function name.

This commit is contained in:
Richard Goodwin
2018-10-26 08:48:56 -05:00
parent 065ddfb24d
commit 1bf8e642bf
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
REPO=rtgoodwin REPO=rtgoodwin
BRANCH="headless-patch" BRANCH="headless-patch"
user_enabled_pushover=false user_enabled_pushover=false
LOGFILE=/boot/teslausb-headless-setup.log SETUP_LOGFILE=/boot/teslausb-headless-setup.log
setup_complete=false setup_complete=false
# if ! [ $(id -u) = 0 ] # if ! [ $(id -u) = 0 ]
@@ -12,7 +12,7 @@ setup_complete=false
# exit 1 # exit 1
# fi # fi
function setup_log () { function setup_progress () {
echo "$( date ) : $1" >> "$LOGFILE" echo "$( date ) : $1" >> "$LOGFILE"
} }

View File

@@ -32,7 +32,7 @@ function headless_setup_populate_variables () {
function headless_setup_mark_setup_failed () { function headless_setup_mark_setup_failed () {
if [ $HEADLESS_SETUP = "true" ] if [ $HEADLESS_SETUP = "true" ]
then then
setup_log "ERROR: Setup Failed." setup_progress "ERROR: Setup Failed."
touch /boot/TESLAUSB_SETUP_FAILED touch /boot/TESLAUSB_SETUP_FAILED
fi fi
} }
@@ -48,7 +48,7 @@ function headless_setup_mark_setup_success () {
rm /boot/TESLAUSB_SETUP_STARTED rm /boot/TESLAUSB_SETUP_STARTED
touch /boot/TESLAUSB_SETUP_FINISHED touch /boot/TESLAUSB_SETUP_FINISHED
setup_log "Main setup completed. Remounting file systems read only." setup_progress "Main setup completed. Remounting file systems read only."
fi fi
} }