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:
@@ -83,7 +83,6 @@ Follow the instructions corresponding to the technology you'd like to use to hos
|
||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/pi/setup-teslausb
|
||||
chmod +x setup-teslausb
|
||||
./setup-teslausb
|
||||
/root/configure.sh
|
||||
```
|
||||
1. Run this command:
|
||||
```
|
||||
|
||||
@@ -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