Files
html/api/v76-scripts/skill-ntp-offset.sh

7 lines
294 B
Bash
Executable File

#!/bin/bash
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: ntp-offset
# Description: NTP offset
# Whitelist-safe timeout 8s
set +e
timeout 8 bash -c "timedatectl 2>/dev/null | grep -i 'offset' | head -1" 2>&1 || echo "{\"skill\":\"ntp-offset\",\"error\":\"timeout_or_missing_tool\"}"