diff options
Diffstat (limited to 'src/slack/rc.firewall.in')
| -rwxr-xr-x | src/slack/rc.firewall.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slack/rc.firewall.in b/src/slack/rc.firewall.in index 6645760..ebc41c9 100755 --- a/src/slack/rc.firewall.in +++ b/src/slack/rc.firewall.in | |||
| @@ -235,7 +235,7 @@ start() { | |||
| 235 | # run post-hooks | 235 | # run post-hooks |
| 236 | run_hook start ${FW_PREFIX}global-post "running global post-hook start ..." | 236 | run_hook start ${FW_PREFIX}global-post "running global post-hook start ..." |
| 237 | run_hook start ${FW_PREFIX}rules-post "running local post-hook start ..." | 237 | run_hook start ${FW_PREFIX}rules-post "running local post-hook start ..." |
| 238 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f);do | 238 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f 2> /dev/null);do |
| 239 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." | 239 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." |
| 240 | done | 240 | done |
| 241 | } | 241 | } |
| @@ -283,7 +283,7 @@ stop() { | |||
| 283 | # run post-hooks | 283 | # run post-hooks |
| 284 | run_hook stop ${FW_PREFIX}global-post "running global post-hook stop ..." | 284 | run_hook stop ${FW_PREFIX}global-post "running global post-hook stop ..." |
| 285 | run_hook stop ${FW_PREFIX}rules-post "running local post-hook stop ..." | 285 | run_hook stop ${FW_PREFIX}rules-post "running local post-hook stop ..." |
| 286 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f);do | 286 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f 2> /dev/null);do |
| 287 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." | 287 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." |
| 288 | done | 288 | done |
| 289 | } | 289 | } |
