From 525b711005052041275fbfdd5c3bbfd91fd070b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Wed, 15 Nov 2023 23:17:56 +0100 Subject: [PATCH] amendments after integration test #3 --- deploy/install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy/install.sh b/deploy/install.sh index c0f1bab..385fdbf 100644 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -1,7 +1,5 @@ #!/bin/sh -# issue: autologin doesn't work ... - ######### # start # ######### @@ -48,9 +46,9 @@ screen_y="${screen_y_in:-$screen_y}" sed -ri "s/^(SOFTWARE_CHROMIUM_RES_Y=)[0-9]+$/\1${screen_y}/" '/boot/dietpi.txt' # chromium autostart -echo '11' > '/boot/dietpi/.dietpi-autostart_index' # magic number sed -ri "s/^(AUTO_SETUP_AUTOSTART_LOGIN_USER=).+$/\1dietpi/" '/boot/dietpi.txt' # run as "dietpi" sed -ri "s/^(SOFTWARE_CHROMIUM_AUTOSTART_URL=).+$/\1http:\/\/localhost\//" '/boot/dietpi.txt' # open "localhost" +/boot/dietpi/dietpi-autostart 11 # 11: magic number for chromium autostart # chromium language display_lang="en-US,en"