Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23684 from stangri/master-pbr
pbr: update to 1.1.4-5
- Loading branch information
Showing
14 changed files
with
3,129 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/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 firewall action: $ACTION" | ||
logger -t "pbr" "Sending reload signal to pbr due to firewall action: $ACTION" | ||
/etc/init.d/pbr reload | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
# shellcheck disable=SC1091,SC3060 | ||
if [ -x /etc/init.d/pbr ] && /etc/init.d/pbr enabled; then | ||
logger -t pbr "Reloading pbr $INTERFACE interface routing due to $ACTION of $INTERFACE ($DEVICE)" | ||
/etc/init.d/pbr on_interface_reload "$INTERFACE" | ||
logger -t pbr "Sending reload signal to pbr for $INTERFACE due to $ACTION of $INTERFACE${DEVICE:+ ($DEVICE)}" | ||
/etc/init.d/pbr on_interface_reload "$INTERFACE" "$ACTION" | ||
fi |
Oops, something went wrong.