11 lines
337 B
Bash
Executable file
11 lines
337 B
Bash
Executable file
#!/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>"
|