Browse Source

recereate /mnt/hdd/ssh to unbreak symbolic link to /etc/ssh on new install

dev
openoms 6 years ago
parent
commit
bb236f36d1
  1. 2
      build.sdcard/raspbianStretchDesktop.sh
  2. 3
      dietpi/install_on_DietPi.md
  3. 3
      home.admin/XXcleanHDD.sh

2
build.sdcard/raspbianStretchDesktop.sh

@ -113,6 +113,8 @@ if [ "${baseImage}" = "dietpi" ]; then
sudo pip install setuptools sudo pip install setuptools
# netcat for 00infoBlitz.sh # netcat for 00infoBlitz.sh
sudo apt install -y netcat sudo apt install -y netcat
# install OpenSSH server
sudo apt install -y openssh-sftp-server
fi fi

3
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) ![example setup](pictures/HDD_copy_example.jpg)
### Useful commands for debugging: ### 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 `tail -n1000 -f/var/tmp/dietpi/logs/dietpi-automation_custom_script.log` follow startup setup script log
`lsblk` see the partitions `lsblk` see the partitions
`tail -n1000 -f raspiblitz.log` - debug logs of bootstrap.sh `tail -n1000 -f raspiblitz.log` - debug logs of bootstrap.sh

3
home.admin/XXcleanHDD.sh

@ -64,6 +64,9 @@ else
sudo rm -f -r /mnt/hdd/tor sudo rm -f -r /mnt/hdd/tor
sudo rm -f /mnt/hdd/raspiblitz.conf sudo rm -f /mnt/hdd/raspiblitz.conf
sudo rm -f /home/admin/raspiblitz.info sudo rm -f /home/admin/raspiblitz.info
# recreate /mnt/hdd/ssh otherwise link with /etc/ssh is broken
sudo mkdir /mnt/hdd/ssh
fi fi

Loading…
Cancel
Save