diff --git a/build.sdcard/raspbianStretchDesktop.sh b/build.sdcard/raspbianStretchDesktop.sh index e7554e2..7d1f43b 100644 --- a/build.sdcard/raspbianStretchDesktop.sh +++ b/build.sdcard/raspbianStretchDesktop.sh @@ -113,6 +113,8 @@ if [ "${baseImage}" = "dietpi" ]; then sudo pip install setuptools # netcat for 00infoBlitz.sh sudo apt install -y netcat + # install OpenSSH server + sudo apt install -y openssh-sftp-server fi diff --git a/dietpi/install_on_DietPi.md b/dietpi/install_on_DietPi.md index 8fbe992..291641b 100644 --- a/dietpi/install_on_DietPi.md +++ b/dietpi/install_on_DietPi.md @@ -77,6 +77,9 @@ The setup continues as described in the RaspiBlitz setup [README.md](/README.md# ![example setup](pictures/HDD_copy_example.jpg) ### Useful commands for debugging: +To test a new configuration run XXcleanHDD.sh and strictly restart +(this makes _bootstrap.sh and 00mainMenu.sh run in the right order) + `tail -n1000 -f/var/tmp/dietpi/logs/dietpi-automation_custom_script.log` follow startup setup script log `lsblk` see the partitions `tail -n1000 -f raspiblitz.log` - debug logs of bootstrap.sh diff --git a/home.admin/XXcleanHDD.sh b/home.admin/XXcleanHDD.sh index 840aa80..e37d9ab 100755 --- a/home.admin/XXcleanHDD.sh +++ b/home.admin/XXcleanHDD.sh @@ -64,6 +64,9 @@ else sudo rm -f -r /mnt/hdd/tor sudo rm -f /mnt/hdd/raspiblitz.conf sudo rm -f /home/admin/raspiblitz.info + # recreate /mnt/hdd/ssh otherwise link with /etc/ssh is broken + sudo mkdir /mnt/hdd/ssh + fi