mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
add more redact data
This commit is contained in:
parent
95f979c734
commit
1921e4e0fa
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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}'"
|
||||
|
|
Loading…
Add table
Reference in a new issue