Merge pull request #988 from openoms/v1.4patch20

RTL: change to CUSTOM auth type
This commit is contained in:
Christian Rotzoll 2020-01-20 21:20:15 +01:00 committed by GitHub
commit dab6ef5a67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
chmod 600 ./RTL/RTL.conf || exit 1 chmod 600 ./RTL/RTL.conf || exit 1
sudo sed -i "s/^macroonPath=.*/macroonPath=\/mnt\/hdd\/lnd\/data\/chain\/${network}\/${chain}net/g" ./RTL/RTL.conf sudo sed -i "s/^macroonPath=.*/macroonPath=\/mnt\/hdd\/lnd\/data\/chain\/${network}\/${chain}net/g" ./RTL/RTL.conf
sudo sed -i "s/^lndConfigPath=.*/lndConfigPath=\/mnt\/hdd\/lnd\/lnd.conf/g" ./RTL/RTL.conf sudo sed -i "s/^lndConfigPath=.*/lndConfigPath=\/mnt\/hdd\/lnd\/lnd.conf/g" ./RTL/RTL.conf
sudo sed -i "s/^nodeAuthType=.*/nodeAuthType=DEFAULT/g" ./RTL/RTL.conf sudo sed -i "s/^nodeAuthType=.*/nodeAuthType=CUSTOM/g" ./RTL/RTL.conf
# getting ready for the phasing out of the "DEFAULT" auth type # getting ready for the phasing out of the "DEFAULT" auth type
# will need to change blitz.setpassword.sh too # will need to change blitz.setpassword.sh too
PASSWORD_B=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcpassword | cut -c 13-) PASSWORD_B=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcpassword | cut -c 13-)