setup box version server 16.04

This commit is contained in:
2019-09-27 09:41:10 +07:00
parent 9a5fcdd920
commit 6e1ba65026
9 changed files with 205 additions and 0 deletions

9
monitor/cache/clearcache.sh vendored Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
sync; echo 1 > /proc/sys/vm/drop_caches
systemctl restart S905X_BI
time_begin=$(date)
echo "$time_begin : clearcache & Restart service S905X & reboot!!" >> /root/monitor/log/cache.txt
echo "************************************" >> /root/monitor/log/cache.txt
sleep 3
reboot
exit 0