provision: log zram install, fix typos (#4117)

This commit is contained in:
openoms 2023-08-25 17:21:39 +02:00 committed by GitHub
parent 901bfb2a3f
commit fc845973cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ if [ "$EUID" -ne 0 ]; then
fi
# This script gets called from a fresh SD card
# starting up that has an config file on HDD
# from old RaspiBlitz or manufacturer to
# starting up that has a config file on HDD
# from old RaspiBlitz or manufacturer
# to install and config services
# LOGFILE - store debug logs of bootstrap
@ -72,7 +72,7 @@ if [ ${kbSizeRAM} -gt 3500000 ]; then
fi
# zram on for all devices
/home/admin/config.scripts/blitz.zram.sh on
/home/admin/config.scripts/blitz.zram.sh on >> ${logFile}
# link and copy HDD content into new OS on sd card
echo "Copy HDD content for user admin" >> ${logFile}
@ -839,7 +839,7 @@ if [ -d "/var/cache/raspiblitz/tls_backup" ]; then
cp /var/cache/raspiblitz/tls_backup/tls.cert /mnt/hdd/lnd/tls.cert >> ${logFile} 2>&1
cp /var/cache/raspiblitz/tls_backup/tls.key /mnt/hdd/lnd/tls.key >> ${logFile} 2>&1
chown -R bitcoin:bitcoin /mnt/hdd/lnd >> ${logFile} 2>&1
echo "On next final restart admin creds will be updated by _boostrap.sh" >> ${logFile}
echo "On next final restart admin creds will be updated by _bootstrap.sh" >> ${logFile}
echo "DONE" >> ${logFile}
else