mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 03:31:05 +08:00
7 lines
225 B
Bash
Executable File
7 lines
225 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 firewall action: $ACTION"
|
|
/etc/init.d/pbr reload
|
|
fi
|