improved config check procedure

This commit is contained in:
rootzoll 2020-02-20 13:24:57 +01:00
parent 0842bbd274
commit f463ad00e9
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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: