mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
improved config check procedure
This commit is contained in:
parent
0842bbd274
commit
f463ad00e9
@ -305,8 +305,8 @@ while :
|
||||
# echo "Config Not Valid!"
|
||||
l1="POTENTIAL CONFIG ERROR FOUND\n"
|
||||
l2="ssh admin@${localip}\n"
|
||||
l3="use PasswordA and then run:\n"
|
||||
l4="/home/admin/config.scripts/blitz.configcheck.py"
|
||||
l3="use Password A\n"
|
||||
l4="Run on Terminal command: check"
|
||||
dialog --backtitle "RaspiBlitz ${codeVersion} cfg-err ${localip}" --infobox "$l1$l2$l3$l4" 6 50
|
||||
sleep 20
|
||||
continue
|
||||
|
@ -30,6 +30,11 @@ function repair() {
|
||||
./98repairMenu.sh
|
||||
}
|
||||
|
||||
# command: check
|
||||
function check() {
|
||||
/home/admin/config.scripts/blitz.configcheck.py
|
||||
}
|
||||
|
||||
# command: hdmi
|
||||
function hdmi() {
|
||||
echo "# SWITCHING VIDEO OUTPUT TO --> HDMI"
|
||||
|
@ -190,6 +190,8 @@ def main():
|
||||
if not args.quiet:
|
||||
print("LND Config: \t\tERROR")
|
||||
log.warning(err)
|
||||
print("# Use command to fix: sudo nano /mnt/hdd/lnd/lnd.conf")
|
||||
print("# CTRL+o to save / CRTL+x to exit / then reboot")
|
||||
|
||||
else:
|
||||
if not args.quiet:
|
||||
@ -211,6 +213,8 @@ def main():
|
||||
if not args.quiet:
|
||||
print("RaspiBlitz Config: \tERROR")
|
||||
log.warning(err)
|
||||
print("# Use command to fix: nano /mnt/hdd/raspiblitz.conf")
|
||||
print("# CTRL+o to save / CRTL+x to exit / then reboot")
|
||||
|
||||
else:
|
||||
if not args.quiet:
|
||||
|
Loading…
Reference in New Issue
Block a user