From da6b89e73939f26e2758e821580787ab8928bbad Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 4 Oct 2025 18:31:48 +0300 Subject: [PATCH] blockcheck: print some OPENWRT_xxx from /etc/os-release --- blockcheck.sh | 3 +++ docs/changes.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index f2d2138d..707dbb56 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -415,6 +415,9 @@ check_system() [ -f /etc/os-release ] && { . /etc/os-release [ -n "$PRETTY_NAME" ] && echo "distro: $PRETTY_NAME" + [ -n "$OPENWRT_RELEASE" ] && echo "openwrt release: $OPENWRT_RELEASE" + [ -n "$OPENWRT_BOARD" ] && echo "openwrt board: $OPENWRT_BOARD" + [ -n "$OPENWRT_ARCH" ] && echo "openwrt arch: $OPENWRT_ARCH" } echo firewall type is $FWTYPE echo CURL=$CURL diff --git a/docs/changes.txt b/docs/changes.txt index 6ea7a5a5..606442e2 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -552,6 +552,6 @@ nfqws: --dpi-desync-fakedsplit-mod=altorder for fakedsplit/fakeddisorder nfqws: --dpi-desync-hostfakesplit-mod=altorder nfqws: fakedsplit/fakeddisorder normalize fake split pattern offset to reasm offset nfqws: optimize ipv4 ip_id. apply ip_id on all OS the same way. -blockcheck: print PRETTY_NAME from /etc/os-release +blockcheck: print PRETTY_NAME and some OPENWRT_xxx from /etc/os-release blockcheck: new strategies blockcheck: curl test simulation : SIMULATE=1