Enhance first-boot configuration with step enable flags and improved documentation
Add step enable flags to the first-boot configuration, allowing users to control the execution of each step during the initial setup. Update the first-boot script to load these flags from the configuration file, ensuring flexibility in customization. Revise the example configuration file to clarify the default behavior and provide guidance on disabling specific steps. This improves user experience by offering more granular control over the first-boot process.
This commit is contained in:
@@ -58,3 +58,18 @@ RETERMINAL_REPO_URL="https://github.com/Seeed-Studio/seeed-linux-dtoverlays"
|
||||
# --- One-shots ---
|
||||
# Space-separated names of one-shot scripts (numbered = run order at first login). Leave empty for none.
|
||||
ONESHOT_SCRIPTS="01-set-rotation-once 02-set-wallpaper-once"
|
||||
|
||||
# --- Step enable flags (1 = run, 0 = skip). All enabled below; set to 0 to disable a step. ---
|
||||
ENABLE_STEP_01=1
|
||||
ENABLE_STEP_02=1
|
||||
ENABLE_STEP_03=1
|
||||
ENABLE_STEP_04=1
|
||||
ENABLE_STEP_05=1
|
||||
ENABLE_STEP_06=1
|
||||
ENABLE_STEP_07=1
|
||||
ENABLE_STEP_08=1
|
||||
ENABLE_STEP_09=1
|
||||
ENABLE_STEP_10=1
|
||||
ENABLE_STEP_11=1
|
||||
ENABLE_STEP_12=1
|
||||
ENABLE_STEP_13=1
|
||||
|
||||
Reference in New Issue
Block a user