From 3bc599e6dcd1493b377cdd18f5ef0caec441db9c Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 23 Jan 2020 11:53:13 +0100 Subject: [PATCH] #985 adding touchscreen logs to XXdebugLogs --- home.admin/XXdebugLogs.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/home.admin/XXdebugLogs.sh b/home.admin/XXdebugLogs.sh index edfe374c..bc6bd9a1 100644 --- a/home.admin/XXdebugLogs.sh +++ b/home.admin/XXdebugLogs.sh @@ -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