* The makefile produces the nft and iptables capable `pbr` package and the `pbr-iptables` package for legacy setups * This replaces `vpnbypass` and `vpn-policy-routing` packages * I'm soliciting feedback on this package and my intention is to update the version to 1.0.0 before this is merged, but I need the feedback on this and luci-app-pbr before then. Signed-off-by: Stan Grishin <stangri@melmac.ca>
6 lines
219 B
Bash
Executable file
6 lines
219 B
Bash
Executable file
#!/bin/sh
|
|
[ "$ACTION" = "reload" ] ||[ "$ACTION" = "restart" ] || exit 0
|
|
if [ -x /etc/init.d/pbr ] && /etc/init.d/pbr enabled; then
|
|
logger -t "pbr" "Reloading pbr due to $ACTION of firewall"
|
|
/etc/init.d/pbr reload
|
|
fi
|