mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-08-08 09:12:43 +02:00
recereate /mnt/hdd/ssh to unbreak symbolic link to /etc/ssh on new install
This commit is contained in:
@@ -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
|
||||||
|
@@ -77,6 +77,9 @@ The setup continues as described in the RaspiBlitz setup [README.md](/README.md#
|
|||||||

|

|
||||||
|
|
||||||
### 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
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user