amendments after integration test #3
This commit is contained in:
parent
6d041e6918
commit
525b711005
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue