This commit is contained in:
rootzoll 2021-04-24 20:43:24 +02:00
commit d272f0040b
2 changed files with 28 additions and 2 deletions

View File

@ -2,7 +2,7 @@
## What's new in Version 1.7.0 of RaspiBlitz?
- New: Raspberry Pi OS Base Image 64-bit (August 2020)
- New: Raspberry Pi OS Base Image 64-bit (April 2021)
- New: Build SD card Image with parameters & FatPack [details](https://github.com/rootzoll/raspiblitz/pull/2044)
- New: Improve LND uptime and reliability over Tor [details](https://github.com/rootzoll/raspiblitz/pull/2148)
- New: Lightning Terminal v0.4.1-alpha (Loop, Pool & Faraday UI Bundle) [details](https://github.com/lightninglabs/lightning-terminal#lightning-terminal-lit)

View File

@ -141,7 +141,33 @@ if [ "$1" = "migration-umbrel" ]; then
echo "# starting to rearrange the data drive for raspiblitz .."
# extract data
# determine version
version=$(sudo cat /mnt/hdd/umbrel/info.json | jq -r '.version')
if [ "${version}" == "" ]; then
echo "err='not able to get version'"
exit 1
fi
versionMajor=$(echo "${version}" | cut -d "." -f1)
versionMiner=$(echo "${version}" | cut -d "." -f2)
versionPatch=$(echo "${version}" | cut -d "." -f3)
if [ "${versionMajor}" == "" ] || [ "${versionMiner}" == "" ] || [ "${versionPatch}" == "" ]; then
echo "err='not able processing version'"
exit 1
fi
# since 0.3.9 umbrel uses a fixed/default password for lnd wallet (before it was the user set one)
if [ ${versionMajor} -eq 0 ] && [ ${versionMiner} -lt 4 ] && [ ${versionPatch} -lt 9 ]; then
echo "# umbrel before 0.3.9 --> password c is old user set password"
else
echo "# umbrel 0.3.9 or higher --> password c is fixed 'moneyprintergobrrr'"
# set flag with standard password to be changed on final recovery setup
sudo touch /mnt/hdd/passwordc.flag
sudo chmod 777 /mnt/hdd/passwordc.flag
echo "moneyprintergobrrr" >> /mnt/hdd/passwordc.flag
sudo chown admin:admin /mnt/hdd/passwordc.flag
fi
# extract detailed data
nameNode=$(sudo jq -r '.name' /mnt/hdd/umbrel/db/user.json)
# move bitcoin/blockchain & call function to migrate config