diff --git a/home.admin/00infoLCD.sh b/home.admin/00infoLCD.sh index f72208b6..4bae4401 100755 --- a/home.admin/00infoLCD.sh +++ b/home.admin/00infoLCD.sh @@ -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 diff --git a/home.admin/_commands.sh b/home.admin/_commands.sh index e8f49d26..af25f9fa 100644 --- a/home.admin/_commands.sh +++ b/home.admin/_commands.sh @@ -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" diff --git a/home.admin/config.scripts/blitz.configcheck.py b/home.admin/config.scripts/blitz.configcheck.py index a83e579d..ec5840b8 100755 --- a/home.admin/config.scripts/blitz.configcheck.py +++ b/home.admin/config.scripts/blitz.configcheck.py @@ -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: