pbr: update to 1.1.4-r15 23880/head
authorStan Grishin <stangri@melmac.ca>
Thu, 11 Apr 2024 16:21:28 +0000 (16:21 +0000)
committerStan Grishin <stangri@melmac.ca>
Fri, 12 Apr 2024 20:40:58 +0000 (20:40 +0000)
commitbb5de23743b46864ba6992ed130b2d2452df72db
tree49ac4680aaa3c3abb6f44c2dc389be548b4d5098
parent4d9ec853bef7530cb97f23aa5b14c455e8f90d26
pbr: update to 1.1.4-r15

* delete obsolete files/etc/init.d/pbr.init
* add files/etc/uci-defaults/91-pbr-iptables to help update from older OpenWrt
* add files/etc/uci-defaults/91-pbr-nft to help update from older OpenWrt
* update files/etc/uci-defaults/91-pbr-netifd to only add tables to supported ifaces
* re-organize variants in the Makefile so that they hopefull work this time
* update prerm for all variants for better user experience
* update the -netifd prerm to remove leftofver entries from network and rt_tables file

In the init script:
* add decorations for netifd-interfaces related operations (blue ticks)
* add rtTablesFile variables instead of hard-coding the rt_tables file
* add function to check if the table is netifd-derived
* add error messages/hints for failed interface setup and failed WAN discovery
* make cleanup_rt_tables the netifd-compatible
* streamline interface_process function with a clearer case statement
* rename the interface_process `pre-init` option to `pre_init` to conform to the other
  functions options naming style

Signed-off-by: Stan Grishin <stangri@melmac.ca>
net/pbr/Makefile
net/pbr/files/etc/init.d/pbr
net/pbr/files/etc/init.d/pbr.init [deleted file]
net/pbr/files/etc/uci-defaults/91-pbr-iptables [new file with mode: 0644]
net/pbr/files/etc/uci-defaults/91-pbr-netifd [new file with mode: 0644]
net/pbr/files/etc/uci-defaults/91-pbr-nft [new file with mode: 0644]