#985 fixing tail of touchscreen logs

This commit is contained in:
rootzoll 2020-01-23 11:54:31 +01:00
parent 3bc599e6dc
commit d7462b8f13
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ if [ "${chain}" != "${choice}" ]; then
if [ "${network}" = "litecoin" ] && [ "${choice}"="test" ]; then
dialog --title 'FAIL' --msgbox 'Litecoin-Testnet not available.' 5 25
elif [ "${BTCRPCexplorer}" = "on" ]; then
dialog --title 'NOTICE' --msgbox 'Please turn off BTC-RPC-Explorer\nbefore changing testnet.' 6 37
dialog --title 'NOTICE' --msgbox 'Please turn off BTC-RPC-Explorer FIRST\nbefore changing testnet.' 6 45
exit 1
else
echo "Testnet Setting changed .."

View File

@ -73,8 +73,8 @@ 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 "sudo tail -n 20 /home/pi/.cache/lxsession/LXDE-pi/run.log"
sudo tail -n 20 /home/pi/.cache/lxsession/LXDE-pi/run.log
echo ""
else
echo "- TOUCHSCREEN is OFF by config"