mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
add message to infoLCD
This commit is contained in:
parent
f8c2da8f48
commit
8bda182ee0
2 changed files with 21 additions and 6 deletions
|
@ -263,14 +263,29 @@ while :
|
|||
continue
|
||||
fi
|
||||
|
||||
# perform config check
|
||||
configCheck=$(/home/admin/config.scripts/blitz.configcheck.py)
|
||||
if [ $? -eq 0 ]; then
|
||||
configValid=1
|
||||
# echo "Config Valid!"
|
||||
else
|
||||
configValid=0
|
||||
# echo "Config Not Valid!"
|
||||
l1="POTENTIAL CONFIG ERROR FOUND\n"
|
||||
l2="ssh admin@${localip}\n"
|
||||
l3="Use password: PasswordA\n"
|
||||
l4="Then run /home/admin/config.scripts/blitz.configcheck.py -p"
|
||||
dialog --backtitle "RaspiBlitz ${codeVersion} cfg-err ${localip}" --infobox "$l1$l2$l3$l4" 6 76
|
||||
sleep 20
|
||||
continue
|
||||
fi
|
||||
|
||||
# no special case - show status display
|
||||
/home/admin/00infoBlitz.sh
|
||||
/home/admin/00infoBlitz.sh
|
||||
if [ ${#touchscreen} -gt 0 ] && [ ${touchscreen} -gt 0 ]; then
|
||||
echo ""
|
||||
echo ""
|
||||
fi
|
||||
sleep 5
|
||||
sleep 5
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -8,7 +8,7 @@ import sys
|
|||
from argparse import RawTextHelpFormatter
|
||||
from configparser import ConfigParser, DEFAULTSECT
|
||||
|
||||
LND_CONF = "/mnt/hdd/lnd/lnd.conf2"
|
||||
LND_CONF = "/mnt/hdd/lnd/lnd.conf"
|
||||
RB_CONF = "/mnt/hdd/raspiblitz.conf"
|
||||
RB_INFO = "/home/admin/raspiblitz.info"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue