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"