git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
95d201c
)
pbr: improve status_service output
author
Stan Grishin
<redacted>
Wed, 11 Dec 2024 20:03:43 +0000
(20:03 +0000)
committer
Stan Grishin
<redacted>
Sat, 14 Dec 2024 17:48:19 +0000
(09:48 -0800)
Signed-off-by: Stan Grishin <redacted>
net/pbr/Makefile
patch
|
blob
|
history
net/pbr/files/etc/init.d/pbr
patch
|
blob
|
history
diff --git
a/net/pbr/Makefile
b/net/pbr/Makefile
index d540e0a2d744388cedd2689ab3f6e0d0446b81c9..90c60ab35a587dffae8f1f77e4af42057eb5bb42 100644
(file)
--- 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:=6
5
+PKG_RELEASE:=6
7
PKG_LICENSE:=AGPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
diff --git
a/net/pbr/files/etc/init.d/pbr
b/net/pbr/files/etc/init.d/pbr
index b020c6c1a5eeb5a05b1c705cbc0392ebdd78d7a0..d5f0b26d04ff20828306719839bbbd05f437c972 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT