Browse Source

sudo write config at end of setup

dev
rootzoll 6 years ago
parent
commit
cc35043b68
  1. 8
      home.admin/10setupBlitz.sh
  2. 4
      home.admin/70initLND.sh
  3. 3
      home.admin/95finalSetup.sh

8
home.admin/10setupBlitz.sh

@ -31,8 +31,8 @@ fi
if [ ${setupStep} -gt 89 ];then
echo "FINISH by setupstep(${setupStep})"
sleep 3
./90finishSetup.sh
./95finalSetup.sh
sudo ./90finishSetup.sh
sudo ./95finalSetup.sh
exit 0
fi
@ -88,8 +88,8 @@ if [ ${lndRunning} -eq 1 ]; then
# if unlocked, blockchain synced and LND synced to chain .. finisch Setup
echo "FINSIH ... "
sleep 3
./90finishSetup.sh
./95finalSetup.sh
sudo ./90finishSetup.sh
sudo ./95finalSetup.sh
exit 0
fi #end - when lighting is running

4
home.admin/70initLND.sh

@ -237,5 +237,5 @@ fi
sudo sed -i "s/^setupStep=.*/setupStep=80/g" /home/admin/raspiblitz.info
###### finishSetup
./90finishSetup.sh
./95finalSetup.sh
sudo ./90finishSetup.sh
sudo ./95finalSetup.sh

3
home.admin/95finalSetup.sh

@ -44,5 +44,6 @@ fi
sudo sed -i "s/^setupStep=.*/setupStep=100/g" /home/admin/raspiblitz.info
clear
echo "Setup done. Rebooting now."
echo "Setup done. Rebooting now. PRESS ENTER"
read key
sudo shutdown -r now
Loading…
Cancel
Save