#985 adding touchscreen logs to XXdebugLogs

This commit is contained in:
rootzoll 2020-01-23 11:53:13 +01:00
parent 93139d35e0
commit 3bc599e6dc

View File

@ -6,8 +6,8 @@
source /home/admin/_version.info
## get basic info (its OK if not set yet)
source /home/admin/raspiblitz.info
source /mnt/hdd/raspiblitz.conf
source /home/admin/raspiblitz.info 2>/dev/null
source /mnt/hdd/raspiblitz.conf 2>/dev/null
# for old nodes
if [ ${#network} -eq 0 ]; then
@ -71,13 +71,24 @@ echo "sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log"
sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log
echo ""
if [ "${touchscreen}" = "1" ]; then
echo "*** LAST 20 TOUCHSCREEN LOGS ***"
echo "sudo tail -n 20 sudo cat /home/pi/.cache/lxsession/LXDE-pi/run.log"
sudo tail -n 20 sudo cat /home/pi/.cache/lxsession/LXDE-pi/run.log
echo ""
else
echo "- TOUCHSCREEN is OFF by config"
echo ""
fi
if [ "${rtlWebinterface}" = "on" ]; then
echo "*** LAST 20 RTL LOGS ***"
sudo journalctl -u RTL -b --no-pager -n20
echo ""
else
echo "- RTL is OFF by config"
echo ""
fi
echo ""
echo "*** HARDWARE TEST RESULTS ***"
showImproveInfo=0