12 lines
337 B
Text
12 lines
337 B
Text
|
#!/bin/bash
|
||
|
|
||
|
source /etc/nodemecu.conf
|
||
|
echo "<p>$(date)<br>"
|
||
|
echo "Stack: $(ls $stack | wc -l) ficheros<br>"
|
||
|
echo "Historicos: $(ls $historical | wc -l) ficheros<br>"
|
||
|
echo "Testigo: $(cat $install_dir/counter)<br>"
|
||
|
echo "Errores: $(wc -l $log) registros<br>"
|
||
|
echo "Ultimos errores registrados<br>"
|
||
|
tail -1 $log
|
||
|
echo "<br></p>"
|