This commit is contained in:
2026-05-11 09:15:08 +02:00
parent 9bec2b9e42
commit 404ee3fec4
641 changed files with 416825 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
if ! command -v chronyd &>/dev/null; then
# chronyd is not installed
exit 0
fi
if ps -ef | grep -v grep | grep -q "chronyd"; then
if ps -ef | grep -v grep | grep "chronyd" | awk '{print $1}' | grep -q "^_chrony$"; then
exit 0
else
exit 1
fi
else
exit 0
fi