Skip to content

Commit

Permalink
qzeleza#215 порядок
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGrF13 authored and AltGrF13 committed Dec 17, 2024
1 parent d67ca9b commit 32cbfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opt/bin/libs/debug
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@ cmd_debug_dnsmasq() {
ready 'DNS ECH' && when_ok "${output}"

local cached=$(dnsmasq -v)
ready 'DNSMasq версия' && when_ok "$(echo "${cached}" | grep -Eo 'version [0-9\.]+' | head -n 1 | cut -d ' ' -f2)"
if echo "${cached}" | grep -Fq 'regex' ; then
output='есть'
else
output='нет'
fi
ready 'Модуль regex' && when_ok "${output}"
ready 'Модуль regex' && when_ok "${output}"
ready 'DNSMasq версия' && when_ok "$(echo "${cached}" | grep -Eo 'version [0-9\.]+' | head -n 1 | cut -d ' ' -f2)"

echo_debug 'DNSMasq слушает:' "$(get_netstat 'dnsmasq')"

Expand Down

0 comments on commit 32cbfd8

Please sign in to comment.