mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
#2561 debug output
This commit is contained in:
@@ -24,6 +24,7 @@ function setting() # FILE LINENUMBER NAME VALUE
|
|||||||
NAME=$3
|
NAME=$3
|
||||||
VALUE=$4
|
VALUE=$4
|
||||||
settingExists=$(cat ${FILE} | grep -c "^${NAME}=")
|
settingExists=$(cat ${FILE} | grep -c "^${NAME}=")
|
||||||
|
echo "# setting ${FILE} ${LINENUMBER} ${NAME} ${VALUE}"
|
||||||
echo "# ${NAME} exists->(${settingExists})"
|
echo "# ${NAME} exists->(${settingExists})"
|
||||||
if [ "${settingExists}" == "0" ]; then
|
if [ "${settingExists}" == "0" ]; then
|
||||||
echo "# adding setting (${NAME})"
|
echo "# adding setting (${NAME})"
|
||||||
@@ -114,6 +115,7 @@ if [ "$1" == "prestart" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# SET/UPDATE zmqpubrawtx
|
# SET/UPDATE zmqpubrawtx
|
||||||
|
echo "# zmqpubrawtx insert/update"
|
||||||
setting ${lndConfFile} ${insertLine} "${network}d\.zmqpubrawtx" "tcp\:\/\/127\.0\.0\.1\:${zmqprefix}333"
|
setting ${lndConfFile} ${insertLine} "${network}d\.zmqpubrawtx" "tcp\:\/\/127\.0\.0\.1\:${zmqprefix}333"
|
||||||
|
|
||||||
# SET/UPDATE zmqpubrawblock
|
# SET/UPDATE zmqpubrawblock
|
||||||
|
Reference in New Issue
Block a user