mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 03:31:05 +08:00
7 lines
256 B
Bash
7 lines
256 B
Bash
#!/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"
|
|
fi
|