mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#2561 debug output
This commit is contained in:
parent
af5e59795a
commit
b30dfd8fe4
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ function setting() # FILE LINENUMBER NAME VALUE
|
|||
NAME=$3
|
||||
VALUE=$4
|
||||
settingExists=$(cat ${FILE} | grep -c "^${NAME}=")
|
||||
echo "# setting ${FILE} ${LINENUMBER} ${NAME} ${VALUE}"
|
||||
echo "# ${NAME} exists->(${settingExists})"
|
||||
if [ "${settingExists}" == "0" ]; then
|
||||
echo "# adding setting (${NAME})"
|
||||
|
@ -114,6 +115,7 @@ if [ "$1" == "prestart" ]; then
|
|||
fi
|
||||
|
||||
# SET/UPDATE zmqpubrawtx
|
||||
echo "# zmqpubrawtx insert/update"
|
||||
setting ${lndConfFile} ${insertLine} "${network}d\.zmqpubrawtx" "tcp\:\/\/127\.0\.0\.1\:${zmqprefix}333"
|
||||
|
||||
# SET/UPDATE zmqpubrawblock
|
||||
|
|
Loading…
Add table
Reference in a new issue