From 05ec258beca5fc4aa96f454908b44ad866dabea8 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 7 Aug 2019 13:53:47 +0200 Subject: [PATCH] #711 rename also host on LND-RESET --- home.admin/70initLND.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home.admin/70initLND.sh b/home.admin/70initLND.sh index 4c7dde4..67bfb46 100755 --- a/home.admin/70initLND.sh +++ b/home.admin/70initLND.sh @@ -490,6 +490,11 @@ else OK LND Reset is done. System will restart now. " 10 35 + + # make sure host is named like in the raspiblitz config + echo "Setting the Name/Alias/Hostname .." + sudo /home/admin/config.scripts/lnd.setname.sh ${hostname} + sudo shutdown -r now fi \ No newline at end of file