diff --git a/build_sdcard.sh b/build_sdcard.sh index 2982405..4fcf695 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -584,6 +584,15 @@ if [ "${baseImage}" = "raspbian" ]; then sudo bash -c 'echo "SCRIPT=/home/admin/00infoLCD.sh" >> /home/pi/.bashrc' sudo bash -c 'echo "# replace shell with script => logout when exiting script" >> /home/pi/.bashrc' sudo bash -c 'echo "exec \$SCRIPT" >> /home/pi/.bashrc' + + # create /home/admin/setup.sh - which will get executed after reboot by autologin pi user + cat > /home/admin/setup.sh <> /home/dietpi/.bashrc' fi -# create /home/admin/setup.sh - which will get executed after reboot by autologin pi user -cat > /home/admin/setup.sh <