add more redact data

This commit is contained in:
rootzoll 2021-12-19 22:44:42 +01:00
parent 95f979c734
commit 1921e4e0fa
2 changed files with 3 additions and 1 deletions

View file

@ -33,7 +33,8 @@ if [ "$1" == "redact" ]; then
sed -i 's/[0-9]*.[0-9]* BTC/* BTC/' ${redactFile}
sed -i 's/[0-9]*.[0-9]* BTC/* BTC/' ${redactFile}
sed -i 's/balance=[^\r\n]*/balance=****/' ${redactFile}
sed -i 's/Server started with public key .+/Server started with public key ****/' ${redactFile}
exit 0
fi

View file

@ -80,6 +80,7 @@ fi
if [ ${mode} = "lnd-export-gui" ]; then
# create lnd rescue file
echo "# lnd.backup lnd-export-gui ..."
source <(/home/admin/config.scripts/lnd.backup.sh lnd-export)
if [ "${error}" != "" ]; then
echo "error='${error}'"