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
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user