mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#1085 make sure loop reboot
This commit is contained in:
parent
7ad1926cea
commit
99a84a7b76
1 changed files with 1 additions and 1 deletions
|
@ -233,13 +233,13 @@ if [ ${check} -eq 1 ]; then choice="on"; fi
|
|||
if [ "${loop}" != "${choice}" ]; then
|
||||
echo "Loop Setting changed .."
|
||||
anychange=1
|
||||
needsReboot=1 # always reboot so that RTL gets restarted to show/hide support loop
|
||||
/home/admin/config.scripts/bonus.loop.sh ${choice}
|
||||
errorOnInstall=$?
|
||||
if [ "${choice}" = "on" ]; then
|
||||
if [ ${errorOnInstall} -eq 0 ]; then
|
||||
sudo systemctl start loopd
|
||||
/home/admin/config.scripts/bonus.loop.sh menu
|
||||
needsReboot=1
|
||||
else
|
||||
l1="FAILED to install Lightning LOOP"
|
||||
l2="Try manual install in the terminal with:"
|
||||
|
|
Loading…
Add table
Reference in a new issue