basically it's a ssh session the shows the dmaosd.log's tail every second.
- Code: Select all
#!/bin/sh
clear
while :
do
cat /tmp/dmaosd.log | tail -50;
sleep 1;
clear;
done
goes into WDLXTV's /conf dir;
and:
- Code: Select all
#!/bin/bash
gnome-terminal --hide-menubar --geometry=150x45 -e 'ssh root@192.168.254.2 /tmp/conf/log-viewer.sh'
has to be executed from the desktop PC.
Change 192.168.254.2 with the IP address of your WDTV.
Initially seemed to me very basic to be posted, because maybe there's a more elegant way to do this that I ignore, but anyway, that's it.


