aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2019-07-29 14:43:43 -0800
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2019-07-29 14:43:43 -0800
commit5297105de0adf214046150d0d1391a7ec1518e24 (patch)
treec77ab914e86856a909105f9f512ff8f51f931f7a
parent69290b342e00a85c2fa5895e396e92aee92e5dd4 (diff)
downloadbbfw-5297105de0adf214046150d0d1391a7ec1518e24.tar.gz
bbfw-5297105de0adf214046150d0d1391a7ec1518e24.tar.bz2
bbfw-5297105de0adf214046150d0d1391a7ec1518e24.tar.xz
bbfw-5297105de0adf214046150d0d1391a7ec1518e24.zip
Adding comments
-rwxr-xr-xsrc/bbfw.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bbfw.in b/src/bbfw.in
index 442b6a4..b03ff94 100755
--- a/src/bbfw.in
+++ b/src/bbfw.in
@@ -283,6 +283,7 @@ stop() {
283 run_hook stop ${FW_PREFIX}/cluster.d/pre-hook "running cluster pre-hook stop ..." 283 run_hook stop ${FW_PREFIX}/cluster.d/pre-hook "running cluster pre-hook stop ..."
284 run_hook stop ${FW_PREFIX}/pre-hook "running local pre-hook stop ..." 284 run_hook stop ${FW_PREFIX}/pre-hook "running local pre-hook stop ..."
285 285
286 # flushes iptables
286 for TABLE in $(iptables-save |grep '^*' |sed -e 's/^*//g' |sort);do 287 for TABLE in $(iptables-save |grep '^*' |sed -e 's/^*//g' |sort);do
287 if test -z "${FW_QUIET}";then 288 if test -z "${FW_QUIET}";then
288 echo "Flushing rules from ${TABLE} table (IPv4)" 289 echo "Flushing rules from ${TABLE} table (IPv4)"
@@ -296,6 +297,7 @@ stop() {
296 done 297 done
297 done 2> /dev/null 298 done 2> /dev/null
298 299
300 # flushes ip6tables
299 for TABLE in $(iptables-save |grep '^*' |sed -e 's/^*//g' |sort);do 301 for TABLE in $(iptables-save |grep '^*' |sed -e 's/^*//g' |sort);do
300 if test -z "${FW_QUIET}";then 302 if test -z "${FW_QUIET}";then
301 echo "Flushing rules from ${TABLE} table (IPv6)" 303 echo "Flushing rules from ${TABLE} table (IPv6)"
@@ -309,6 +311,7 @@ stop() {
309 done 311 done
310 done 2> /dev/null 312 done 2> /dev/null
311 313
314 # flushes ipsets
312 if test -z "${FW_QUIET}";then 315 if test -z "${FW_QUIET}";then
313 echo "Destroying all IP sets ..." 316 echo "Destroying all IP sets ..."
314 fi 317 fi