diff options
Diffstat (limited to 'net/pbr/files/etc/hotplug.d')
-rwxr-xr-x | net/pbr/files/etc/hotplug.d/firewall/70-pbr | 2 | ||||
-rw-r--r-- | net/pbr/files/etc/hotplug.d/iface/70-pbr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/pbr/files/etc/hotplug.d/firewall/70-pbr b/net/pbr/files/etc/hotplug.d/firewall/70-pbr index 25b7e58fa..80b0aa395 100755 --- a/net/pbr/files/etc/hotplug.d/firewall/70-pbr +++ b/net/pbr/files/etc/hotplug.d/firewall/70-pbr @@ -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 diff --git a/net/pbr/files/etc/hotplug.d/iface/70-pbr b/net/pbr/files/etc/hotplug.d/iface/70-pbr index bcb0faa7b..5340ba5c0 100644 --- a/net/pbr/files/etc/hotplug.d/iface/70-pbr +++ b/net/pbr/files/etc/hotplug.d/iface/70-pbr @@ -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 |