mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Typo in function name.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
REPO=rtgoodwin
|
||||
BRANCH="headless-patch"
|
||||
user_enabled_pushover=false
|
||||
LOGFILE=/boot/teslausb-headless-setup.log
|
||||
SETUP_LOGFILE=/boot/teslausb-headless-setup.log
|
||||
setup_complete=false
|
||||
|
||||
# if ! [ $(id -u) = 0 ]
|
||||
@@ -12,7 +12,7 @@ setup_complete=false
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
function setup_log () {
|
||||
function setup_progress () {
|
||||
echo "$( date ) : $1" >> "$LOGFILE"
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ function headless_setup_populate_variables () {
|
||||
function headless_setup_mark_setup_failed () {
|
||||
if [ $HEADLESS_SETUP = "true" ]
|
||||
then
|
||||
setup_log "ERROR: Setup Failed."
|
||||
setup_progress "ERROR: Setup Failed."
|
||||
touch /boot/TESLAUSB_SETUP_FAILED
|
||||
fi
|
||||
}
|
||||
@@ -48,7 +48,7 @@ function headless_setup_mark_setup_success () {
|
||||
|
||||
rm /boot/TESLAUSB_SETUP_STARTED
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user