diff --git a/Shorewall-core/install.sh b/Shorewall-core/install.sh index d17da49d5..44a30273a 100755 --- a/Shorewall-core/install.sh +++ b/Shorewall-core/install.sh @@ -36,12 +36,6 @@ usage() # $1 = exit status exit $1 } -cant_autostart() -{ - echo - echo "WARNING: Unable to configure shorewall to start automatically at boot" >&2 -} - install_file() # $1 = source $2 = target $3 = mode { if cp -f $1 $2; then diff --git a/Shorewall-core/lib.installer b/Shorewall-core/lib.installer index 50f923915..b9d1982f3 100644 --- a/Shorewall-core/lib.installer +++ b/Shorewall-core/lib.installer @@ -82,3 +82,9 @@ make_parent_directory() # $1 = directory , $2 = mode chmod $2 $1 [ -n "$OWNERSHIP" ] && chown $OWNER:$GROUP $1 } + +cant_autostart() +{ + echo + echo "WARNING: Unable to configure $Product to start automatically at boot" >&2 +} diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index 4ff3ee6ac..24b33b44b 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -41,12 +41,6 @@ usage() # $1 = exit status exit $1 } -cant_autostart() -{ - echo - echo "WARNING: Unable to configure shorewall init to start automatically at boot" >&2 -} - install_file() # $1 = source $2 = target $3 = mode { if cp -f $1 $2; then diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index b57785eb1..293db7e85 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -34,12 +34,6 @@ usage() # $1 = exit status exit $1 } -cant_autostart() -{ - echo - echo "WARNING: Unable to configure $Product to start automatically at boot" >&2 -} - install_file() # $1 = source $2 = target $3 = mode { if cp -f $1 $2; then diff --git a/Shorewall/install.sh b/Shorewall/install.sh index aa094457f..09cff22e4 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -48,12 +48,6 @@ run_install() fi } -cant_autostart() -{ - echo - echo "WARNING: Unable to configure $PRODUCT to start automatically at boot" >&2 -} - install_file() # $1 = source $2 = target $3 = mode { run_install $T $OWNERSHIP -m $3 $1 ${2}