mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-07-25 09:38:42 -04:00
6 lines
328 B
Bash
Executable File
6 lines
328 B
Bash
Executable File
#!/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
|