mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Some more fixups for Shorewall/Shorewall-lite coexistence
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4048 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
dabd75e282
commit
6e2efbe1f6
@ -35,9 +35,9 @@ not_configured () {
|
|||||||
if [ "$1" != "stop" ]
|
if [ "$1" != "stop" ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
echo "please configure it and then edit /etc/default/shorewall"
|
echo "please configure it and then edit /etc/default/shorewall-lite"
|
||||||
echo "and set the \"startup\" variable to 1 in order to allow "
|
echo "and set the \"startup\" variable to 1 in order to allow "
|
||||||
echo "shorewall to start"
|
echo "Shorewall Lite to start"
|
||||||
fi
|
fi
|
||||||
echo "#################"
|
echo "#################"
|
||||||
exit 0
|
exit 0
|
||||||
@ -51,9 +51,9 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# check if shorewall is configured or not
|
# check if shorewall is configured or not
|
||||||
if [ -f "/etc/default/shorewall" ]
|
if [ -f "/etc/default/shorewall-lite" ]
|
||||||
then
|
then
|
||||||
. /etc/default/shorewall
|
. /etc/default/shorewall-lite
|
||||||
if [ "$startup" != "1" ]
|
if [ "$startup" != "1" ]
|
||||||
then
|
then
|
||||||
not_configured
|
not_configured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user