aboutsummaryrefslogtreecommitdiff
path: root/net/pbr/test.sh
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2024-03-18 01:43:50 +0000
committerStan Grishin <stangri@melmac.ca>2024-03-20 19:10:45 +0000
commit790753f6a65c1805e6de817fba009aa8fc6402dc (patch)
tree48513f7e22ab480a47152b2ab19bdbfc77a0c71e /net/pbr/test.sh
parentc7f77bded7093dd96ce6f2dd436f92336d75eb40 (diff)
pbr: update to 1.1.4-5
This update includes the following changes: 1. Makefile * update copyright * attempt to implement the proper variants to avoid luci-app dependency on both variants * quietly stop service on uninstall 2. Config-file * add the list of dnsmasq instances to target in supported dnsmasq modes * for default pbr variant, set the `resolver_set` to `dnsmasq.nftset` * for iptables pbr variant, set the `resolver_set` to `dnsmasq.ipset` * add the `nft_file_support` (disabled by default) * introduce `procd_boot_delay` to delay service start on boot * introduce the following nft set creation options: * nft_set_auto_merge * nft_set_counter * nft_set_flags_interval * nft_set_flags_timeout * nft_set_gc_interval * nft_set_policy * nft_set_timeout * add the pbr.user.wg_server_and_client custom user script to allow running wg server and client at the same time * add the "Ignore Local Requests" sample policy 3. Hotplug firewall/interface scripts * better logged messages 4. The pbr and pbr-iptables uci defaults script * use functions from the init script * improve vpn-policy-routing migration 5. The pbr-netifd uci defaults script * use functions from the init script * improve uci operations 6. Introduce the firewall.include file 7. Improve pbr.user.aws custom user script 8. Improve pbr.user.netflix custom user script 9. Introduce pbr.user.wg_server_and_client custom user script 10. Update the init file: * refactor some code to allow the init script file to be sourced by the uci defaults scripts and the luci rpcd script for shared functions * add support for `nft_file_mode` in which service prepares the fw4-compatible atomic nft/include file for faster operations on service reload * improve Tor support (nft mode only) * implement support for nft set options * update validation functions for new options/parameters Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/pbr/test.sh')
-rw-r--r--net/pbr/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/pbr/test.sh b/net/pbr/test.sh
index 45469ed96..0d6299b80 100644
--- a/net/pbr/test.sh
+++ b/net/pbr/test.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-/etc/init.d/"$1" version 2>&1 | grep "$2"
+/etc/init.d/pbr version 2>&1 | grep "$2"