refactor(discovery): use ping for discovery and fill MAC via SSH
This commit is contained in:
4
auto-check/scripts/temp_start.sh
Normal file
4
auto-check/scripts/temp_start.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
TEMP_LOG=/tmp/auto-check-temp.log
|
||||
> "$TEMP_LOG"
|
||||
(while true; do sensors 2>/dev/null | grep -i 'temp\|core\|cpu' | head -5 >> "$TEMP_LOG"; sleep "${AUTOCHECK_TEMP_INTERVAL:-10}"; done) &
|
||||
TEMP_PID=$!
|
||||
Reference in New Issue
Block a user