Add files via upload

This commit is contained in:
Waldek
2020-12-31 15:27:08 +01:00
committed by GitHub
parent 2f4ac2bd02
commit 4788ff0fc2
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log