Configure archiving by default as part of the setup-teslausb script, but make it possible to skip.

This commit is contained in:
cimryan
2018-11-03 10:11:16 -07:00
parent fe7ab50ab1
commit aa8e9adbee
2 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ REPO=${REPO:-cimryan}
BRANCH=${BRANCH:-master}
HEADLESS_SETUP=${HEADLESS_SETUP:-false}
USE_LED_FOR_SETUP_PROGRESS=true
CONFIGURE_ARCHIVING=${CONFIGURE_ARCHIVING:-true}
if ! [ $(id -u) = 0 ]
then
@@ -228,6 +228,11 @@ headless_setup_progress_flash 4
headless_setup_mark_setup_success
if [ "$CONFIGURE_ARCHIVING" = true ]
then
/root/configure.sh
fi
make_root_fs_readonly
# If USE_LED_FOR_SETUP_PROGRESS = true.