mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-28 04:52:30 +02:00
add more redact data
This commit is contained in:
parent
95f979c734
commit
1921e4e0fa
@ -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/[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/balance=[^\r\n]*/balance=****/' ${redactFile}
|
||||||
|
sed -i 's/Server started with public key .+/Server started with public key ****/' ${redactFile}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -80,6 +80,7 @@ fi
|
|||||||
if [ ${mode} = "lnd-export-gui" ]; then
|
if [ ${mode} = "lnd-export-gui" ]; then
|
||||||
|
|
||||||
# create lnd rescue file
|
# create lnd rescue file
|
||||||
|
echo "# lnd.backup lnd-export-gui ..."
|
||||||
source <(/home/admin/config.scripts/lnd.backup.sh lnd-export)
|
source <(/home/admin/config.scripts/lnd.backup.sh lnd-export)
|
||||||
if [ "${error}" != "" ]; then
|
if [ "${error}" != "" ]; then
|
||||||
echo "error='${error}'"
|
echo "error='${error}'"
|
||||||
|
Loading…
Reference in New Issue
Block a user