diff --git a/README.md b/README.md index 7b32736..77a000f 100644 --- a/README.md +++ b/README.md @@ -678,7 +678,7 @@ A ready to use SD card image of the RaspiBlitz for your RaspberryPi is provided * Add a file called `ssh` to the root of the SD card when mounted to enable SSH login * Start card in Raspi and login per SSH with `ssh pi@[IP-OF-YOUR-RASPI]` password is `raspberry` -Now you are ready to start the SD card build script - copy the following command into your terminal and execute: +Now you are ready to start the SD card build script (check the code if every installs and config is OK for you) - copy the following command into your terminal and execute: `wget https://raw.githubusercontent.com/rootzoll/raspiblitz/master/build_sdcard.sh && sudo bash build_sdcard.sh` diff --git a/home.admin/config.scripts/blitz.touchscreen.sh b/home.admin/config.scripts/blitz.touchscreen.sh index 8495f38..24a9143 100644 --- a/home.admin/config.scripts/blitz.touchscreen.sh +++ b/home.admin/config.scripts/blitz.touchscreen.sh @@ -29,8 +29,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then sudo raspi-config nonint do_boot_behaviour B4 # set user pi as autologin for lightdm - sudo sed -i s'/autologin-user=root/autologin-user=pi/' /etc/lightdm/lightdm.conf + sudo sed -i "s/^autologin-user=.*/autologin-user=pi/g" /etc/lightdm/lightdm.conf sudo sed -i s'/--autologin root/--autologin pi/' /etc/systemd/system/getty@tty1.service.d/autologin.conf + sudo sed -i s'/--autologin admin/--autologin pi/' /etc/systemd/system/getty@tty1.service.d/autologin.conf # write new LXDE autostart config sudo mv /etc/xdg/lxsession/LXDE-pi/autostart /etc/xdg/lxsession/LXDE-pi/autostart.bak