mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Configure archiving by default as part of the setup-teslausb script, but make it possible to skip.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user