mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
debug output on bootstrap
This commit is contained in:
parent
7654897474
commit
ea42b716f0
1 changed files with 4 additions and 0 deletions
|
@ -540,12 +540,16 @@ if [ ${isMounted} -eq 0 ]; then
|
|||
sed -i "s/^message=.*/message='Starting Provision'/g" ${infoFile}
|
||||
|
||||
# load setup data
|
||||
echo "# Sourcing ${setupFile} " >> ${logFile}
|
||||
source ${setupFile}
|
||||
cat ${setupFile} >> ${logFile}
|
||||
|
||||
# make sure basic info id in raspiblitz.info
|
||||
echo "# Update ${infoFile} " >> ${logFile}
|
||||
sudo sed -i "s/^network=.*/network=${network}/g" ${infoFile}
|
||||
sudo sed -i "s/^chain=.*/chain=${chain}/g" ${infoFile}
|
||||
sudo sed -i "s/^lightning=.*/lightning=${lightning}/g" ${infoFile}
|
||||
cat ${infoFile} >> ${logFile}
|
||||
|
||||
###################################
|
||||
# Set Password A (in all cases)
|
||||
|
|
Loading…
Add table
Reference in a new issue