aboutsummaryrefslogtreecommitdiff
path: root/net/pbr/files/etc/hotplug.d/iface/70-pbr
blob: 5340ba5c0392a2ad0b6edd060c0f808a22b7d6d9 (plain)
1
2
3
4
5
6
#!/bin/sh
# shellcheck disable=SC1091,SC3060
if [ -x /etc/init.d/pbr ] && /etc/init.d/pbr enabled; then
	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