From efed2286b0f88ef3b3b22adaf4ac1bf91662f4aa Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 7 Mar 2010 11:50:54 -0800 Subject: [PATCH] Move qt1() to lib.common Signed-off-by: Tom Eastep --- Shorewall/Perl/prog.header | 11 ----------- Shorewall/Perl/prog.header6 | 11 ----------- Shorewall/lib.common | 11 +++++++++++ Shorewall6/lib.common | 11 +++++++++++ 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Shorewall/Perl/prog.header b/Shorewall/Perl/prog.header index 32a184105..ad5451bd1 100644 --- a/Shorewall/Perl/prog.header +++ b/Shorewall/Perl/prog.header @@ -80,17 +80,6 @@ progress_message3() # $* = Message fi } -qt1() -{ - local status - - while [ 1 ]; do - "$@" >/dev/null 2>&1 - status=$? - [ $status -ne 4 ] && return $status - done -} - # # Set a standard chain's policy # diff --git a/Shorewall/Perl/prog.header6 b/Shorewall/Perl/prog.header6 index 64afcf75a..480d5b124 100644 --- a/Shorewall/Perl/prog.header6 +++ b/Shorewall/Perl/prog.header6 @@ -80,17 +80,6 @@ progress_message3() # $* = Message fi } -qt1() -{ - local status - - while [ 1 ]; do - "$@" >/dev/null 2>&1 - status=$? - [ $status -ne 4 ] && return $status - done -} - # # Set a standard chain's policy # diff --git a/Shorewall/lib.common b/Shorewall/lib.common index 060ede14b..f623f1c53 100644 --- a/Shorewall/lib.common +++ b/Shorewall/lib.common @@ -153,6 +153,17 @@ qt() "$@" >/dev/null 2>&1 } +qt1() +{ + local status + + while [ 1 ]; do + "$@" >/dev/null 2>&1 + status=$? + [ $status -ne 4 ] && return $status + done +} + # # Determine if Shorewall is "running" # diff --git a/Shorewall6/lib.common b/Shorewall6/lib.common index 83c3c2cb3..b33ccd0d7 100644 --- a/Shorewall6/lib.common +++ b/Shorewall6/lib.common @@ -175,6 +175,17 @@ qt() "$@" >/dev/null 2>&1 } +qt1() +{ + local status + + while [ 1 ]; do + "$@" >/dev/null 2>&1 + status=$? + [ $status -ne 4 ] && return $status + done +} + # # Determine if Shorewall is "running" #