diff options
author | Simon Biewald <simon@fam-biewald.de> | 2020-01-08 20:53:15 +0300 |
---|---|---|
committer | Simon Biewald <simon@fam-biewald.de> | 2020-01-08 20:53:15 +0300 |
commit | c58e296bd36b8705714ab8a3c1bbafa25cf07816 (patch) | |
tree | 873c456311ee8b48f20e9247d9226938abcaa66e /include/binaries | |
parent | b48bee581add42afbff3b336392dd0be74f1a7a9 (diff) |
add openntpd detection and a few tests for it
Diffstat (limited to 'include/binaries')
-rw-r--r-- | include/binaries | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binaries b/include/binaries index f567ed1f..ec633f02 100644 --- a/include/binaries +++ b/include/binaries @@ -212,6 +212,7 @@ netstat) NETSTATBINARY="${BINARY}"; LogText " Found known binary: netstat (network statistics) - ${BINARY}" ;; nft) NFTBINARY="${BINARY}"; LogText " Found known binary: nft (nftables client) - ${BINARY}" ;; nmap) NMAPBINARY="${BINARY}"; NMAPVERSION=$(${BINARY} -V | grep "^Nmap version" | awk '{ print $3 }'); LogText "Found ${BINARY} (version ${NMAPVERSION})" ;; + ntpctl) NTPCTLBINARY="${BINARY}"; LogText " Found known binary: ntpctl (openntpd client) - ${BINARY}" ;; ntpq) NTPQBINARY="${BINARY}"; LogText " Found known binary ntpq (time daemon client) - ${BINARY}" ;; osiris) OSIRISBINARY="${BINARY}"; LogText " Found known binary: osiris - ${BINARY}" ;; openssl) OPENSSLBINARY="${BINARY}"; OPENSSLVERSION=$(${BINARY} version 2> /dev/null | head -n 1 | awk '{ print $2 }' | xargs); LogText "Found ${BINARY} (version ${OPENSSLVERSION})" ;; |