mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 12:49:33 +02:00
updated string replacement in conf files
This commit is contained in:
parent
3b3f95d77e
commit
98350b9069
@ -16,7 +16,7 @@ while [ ${#result} -eq 0 ]
|
||||
done
|
||||
|
||||
# set lightning alias
|
||||
sed -i "7s/.*/alias=${result}/" /home/admin/assets/lnd.${network}.conf
|
||||
sed -i "s/^alias=.*/alias=${result}/g" /home/admin/assets/lnd.${network}.conf
|
||||
|
||||
# store hostname for later - to be set right before the next reboot
|
||||
# work around - because without a reboot the hostname seems not updates in the whole system
|
||||
@ -72,7 +72,8 @@ while [ ${#result} -lt 8 ]
|
||||
done
|
||||
|
||||
# set Blockchain RPC Password (for admin cli & template for user bitcoin)
|
||||
sed -i "14s/.*/rpcpassword=$result/" /home/admin/assets/${network}.conf
|
||||
sed -i "s/^rpcpassword=.*/rpcpassword=${result}/g" /home/admin/assets/${network}.conf
|
||||
sed -i "s/^${network}d.rpcuser=.*/${network}d.rpcuser=${result}/g" /home/admin/assets/lnd.${network}.conf
|
||||
|
||||
|
||||
# success info dialog
|
||||
|
@ -11,7 +11,7 @@ disablewallet=1
|
||||
|
||||
# Connection settings
|
||||
rpcuser=raspibolt
|
||||
# LINE15 -insert-> rpcpassword=[PASSWORDB]
|
||||
rpcpassword=passwordB
|
||||
zmqpubrawblock=tcp://127.0.0.1:29000
|
||||
zmqpubrawtx=tcp://127.0.0.1:29000
|
||||
|
||||
|
@ -11,7 +11,7 @@ disablewallet=1
|
||||
|
||||
# Connection settings
|
||||
rpcuser=raspibolt
|
||||
# LINE15 -insert-> rpcpassword=[PASSWORDB]
|
||||
rpcpassword=passwordB
|
||||
zmqpubrawblock=tcp://127.0.0.1:28332
|
||||
zmqpubrawtx=tcp://127.0.0.1:28332
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
debuglevel=info
|
||||
debughtlc=true
|
||||
maxpendingchannels=5
|
||||
# LINE7 -insert-> alias=[ALIAS]
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
|
||||
[Bitcoin]
|
||||
@ -15,6 +15,9 @@ bitcoin.testnet=1
|
||||
#bitcoin.mainnet=1
|
||||
|
||||
bitcoin.node=bitcoind
|
||||
bitcoind.rpcuser=raspibolt
|
||||
bitcoind.rpcpass=passwordB
|
||||
bitcoind.zmqpath=tcp://127.0.0.1:29000
|
||||
|
||||
[autopilot]
|
||||
autopilot.active=1
|
||||
|
@ -4,15 +4,15 @@
|
||||
debuglevel=info
|
||||
debughtlc=true
|
||||
maxpendingchannels=5
|
||||
# LINE7 -insert-> alias=[ALIAS]
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
|
||||
[Litecoin]
|
||||
litecoin.active=1
|
||||
litecoin.mainnet=1
|
||||
litecoin.node=litecoind
|
||||
litecoind.rpcuser=jason
|
||||
litecoind.rpcpass=litecoin
|
||||
litecoin.node=litecoind
|
||||
litecoind.rpcuser=raspibolt
|
||||
litecoind.rpcpass=passwordB
|
||||
litecoind.zmqpath=tcp://127.0.0.1:28332
|
||||
|
||||
[autopilot]
|
||||
|
Loading…
x
Reference in New Issue
Block a user