diff options
Diffstat (limited to 'src/slack/rc.firewall.in')
| -rwxr-xr-x | src/slack/rc.firewall.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/slack/rc.firewall.in b/src/slack/rc.firewall.in index e73ce8e..de8db88 100755 --- a/src/slack/rc.firewall.in +++ b/src/slack/rc.firewall.in | |||
| @@ -65,10 +65,10 @@ | |||
| 65 | # /etc/firewall.d/global.d/rules6 - centrally maintained IPv6 rules | 65 | # /etc/firewall.d/global.d/rules6 - centrally maintained IPv6 rules |
| 66 | # /etc/firewall.d/global.d/rules - centrally maintained IPv4/IPv6 rules | 66 | # /etc/firewall.d/global.d/rules - centrally maintained IPv4/IPv6 rules |
| 67 | # | 67 | # |
| 68 | # /etc/firewall.d/global.d/rules-post - centrally maintained post-hook script | 68 | # /etc/firewall.d/global.d/post-hook - centrally maintained post-hook script |
| 69 | # /etc/firewall.d/apps.d/*.post - app post-hook script | 69 | # /etc/firewall.d/apps.d/*/post-hook - app post-hook script |
| 70 | # /etc/firewall.d/cluster.d/rules-post - host specific post-hook script | 70 | # /etc/firewall.d/cluster.d/post-hook - host specific post-hook script |
| 71 | # /etc/firewall.d/rules-post - host specific post-hook script | 71 | # /etc/firewall.d/post-hook - host specific post-hook script |
| 72 | # | 72 | # |
| 73 | 73 | ||
| 74 | 74 | ||
| @@ -251,12 +251,12 @@ start() { | |||
| 251 | load ip6tables ${FW_PREFIX}global.d/rules | 251 | load ip6tables ${FW_PREFIX}global.d/rules |
| 252 | 252 | ||
| 253 | # run post-hooks | 253 | # run post-hooks |
| 254 | run_hook start ${FW_PREFIX}global.d/rules-post "running global post-hook start ..." | 254 | run_hook start ${FW_PREFIX}global.d/post-hook "running global post-hook start ..." |
| 255 | for FILE in $( find_appfile post );do | 255 | for FILE in $( find_appfile post-hook );do |
| 256 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." | 256 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." |
| 257 | done | 257 | done |
| 258 | run_hook start ${FW_PREFIX}cluster.d/rules-post "running cluster post-hook start ..." | 258 | run_hook start ${FW_PREFIX}cluster.d/post-hook "running cluster post-hook start ..." |
| 259 | run_hook start ${FW_PREFIX}rules-post "running local post-hook start ..." | 259 | run_hook start ${FW_PREFIX}post-hook "running local post-hook start ..." |
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | 262 | ||
| @@ -301,12 +301,12 @@ stop() { | |||
| 301 | done | 301 | done |
| 302 | 302 | ||
| 303 | # run post-hooks | 303 | # run post-hooks |
| 304 | run_hook stop ${FW_PREFIX}global.d/rules-post "running global post-hook stop ..." | 304 | run_hook stop ${FW_PREFIX}global.d/post-hook "running global post-hook stop ..." |
| 305 | for FILE in $( find_appfile post );do | 305 | for FILE in $( find_appfile post-hook );do |
| 306 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." | 306 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." |
| 307 | done | 307 | done |
| 308 | run_hook stop ${FW_PREFIX}cluster.d/rules-post "running cluster post-hook stop ..." | 308 | run_hook stop ${FW_PREFIX}cluster.d/post-hook "running cluster post-hook stop ..." |
| 309 | run_hook stop ${FW_PREFIX}rules-post "running local post-hook stop ..." | 309 | run_hook stop ${FW_PREFIX}post-hook "running local post-hook stop ..." |
| 310 | } | 310 | } |
| 311 | 311 | ||
| 312 | 312 | ||
