wip
This commit is contained in:
@@ -10,4 +10,4 @@ cd /data/openpilot/logs
|
|||||||
rm -f watcher.log.gz
|
rm -f watcher.log.gz
|
||||||
ls watcher.log && gzip watcher.log
|
ls watcher.log && gzip watcher.log
|
||||||
|
|
||||||
screen -dmS "watcher" "bash /data/openpilot/shell/watcher_run_loop.sh"
|
screen -dmS "watcher" /data/openpilot/shell/watcher_run_loop.sh
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ do
|
|||||||
|
|
||||||
nodejs watcher.js
|
nodejs watcher.js
|
||||||
|
|
||||||
|
|
||||||
# Get free space on /data in GB
|
# Get free space on /data in GB
|
||||||
free_space=$(df -BG /data | tail -n 1 | awk '{print $4}' | sed 's/G//')
|
free_space=$(df -BG /data | tail -n 1 | awk '{print $4}' | sed 's/G//')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user