Signed-off-by: Matt Darfeuille <[email protected]>
---
Shorewall-core/install.sh | 6 ------
Shorewall-core/lib.installer | 6 ++++++
Shorewall-init/install.sh | 6 ------
Shorewall-lite/install.sh | 6 ------
Shorewall/install.sh | 6 ------
5 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/Shorewall-core/install.sh b/Shorewall-core/install.sh
index d17da49..44a3027 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 50f9239..b9d1982 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 4ff3ee6..24b33b4 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 b57785e..293db7e 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 aa09445..09cff22 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}
--
2.8.3
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel