mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
cln.install.sh: create cln config if not present
This commit is contained in:
@@ -141,11 +141,9 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = experimental ]||[ "$1" = testPR ];
|
|||||||
sudo mkdir -p /mnt/hdd/app-data/.lightning
|
sudo mkdir -p /mnt/hdd/app-data/.lightning
|
||||||
sudo ln -s /mnt/hdd/app-data/.lightning /home/bitcoin/
|
sudo ln -s /mnt/hdd/app-data/.lightning /home/bitcoin/
|
||||||
|
|
||||||
|
if ! sudo ls ${CLNCONF};then
|
||||||
echo "# Create ${CLNCONF}"
|
echo "# Create ${CLNCONF}"
|
||||||
if sudo ls ${CLNCONF};then
|
echo "# lightningd configuration for ${network} ${CHAIN}
|
||||||
echo "
|
|
||||||
# lightningd configuration for ${network} ${CHAIN}
|
|
||||||
|
|
||||||
network=${CLNETWORK}
|
network=${CLNETWORK}
|
||||||
announce-addr=127.0.0.1:${portprefix}9736
|
announce-addr=127.0.0.1:${portprefix}9736
|
||||||
|
Reference in New Issue
Block a user