change password b make reboot

This commit is contained in:
rootzoll
2020-02-17 15:28:44 +01:00
parent 4d0a18b31d
commit 45004c4bae

View File

@@ -235,9 +235,9 @@ EOF
sed -i "s/^btc.rpc.password=.*/btc.rpc.password=${newPassword}/g" /home/btcpay/.nbxplorer/Main/settings.config 2>/dev/null sed -i "s/^btc.rpc.password=.*/btc.rpc.password=${newPassword}/g" /home/btcpay/.nbxplorer/Main/settings.config 2>/dev/null
fi fi
echo "OK -> RPC Password B changed" echo "# OK -> RPC Password B changed"
echo "if services are running - reboot is needed to activate new settings" echo "# Reboot is needed"
exit 0 exit 1
############################ ############################
# PASSWORD C # PASSWORD C