From b8a4132d9b88ba439544b16302b70853dc5d22b4 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Wed, 11 Dec 2024 20:03:43 +0000 Subject: [PATCH] pbr: improve status_service output Signed-off-by: Stan Grishin --- net/pbr/Makefile | 2 +- net/pbr/files/etc/init.d/pbr | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/pbr/Makefile b/net/pbr/Makefile index d540e0a2d7..90c60ab35a 100644 --- a/net/pbr/Makefile +++ b/net/pbr/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pbr PKG_VERSION:=1.1.7 -PKG_RELEASE:=65 +PKG_RELEASE:=67 PKG_LICENSE:=AGPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin diff --git a/net/pbr/files/etc/init.d/pbr b/net/pbr/files/etc/init.d/pbr index b020c6c1a5..d5f0b26d04 100755 --- a/net/pbr/files/etc/init.d/pbr +++ b/net/pbr/files/etc/init.d/pbr @@ -2332,6 +2332,7 @@ status_service() { # echo "$_SEPARATOR_" # ip rule list | grep "${packageName}_" echo "$_SEPARATOR_" + echo "$packageName tables & routing" tableCount="$(grep -c "${packageName}_" "$rtTablesFile")" || tableCount=0 wan_tid=$(($(get_rt_tables_next_id)-tableCount)) i=0; while [ "$i" -lt "$tableCount" ]; do -- 2.30.2