From 381ecf1aae61e08260e798c68076aa62a2b73a51 Mon Sep 17 00:00:00 2001 From: paulober <44974737+paulober@users.noreply.github.com> Date: Sat, 19 Oct 2024 19:51:15 +0100 Subject: [PATCH] Add USER overwrite option in for do_boot_behaviour Signed-off-by: paulober <44974737+paulober@users.noreply.github.com> --- raspi-config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/raspi-config b/raspi-config index f18a639..028ff4f 100755 --- a/raspi-config +++ b/raspi-config @@ -1773,7 +1773,9 @@ do_boot_behaviour() { 3>&1 1>&2 2>&3) else BOOTOPT=$1 - true + if [ -n "$2" ]; then + USER=$2 + fi fi if [ $? -eq 0 ]; then case "$BOOTOPT" in # Handle default target