mirror of
https://gitlab.com/shorewall/code.git
synced 2025-03-03 17:11:35 +01: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" ]
|
||||
then
|
||||
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 "shorewall to start"
|
||||
echo "Shorewall Lite to start"
|
||||
fi
|
||||
echo "#################"
|
||||
exit 0
|
||||
@ -51,9 +51,9 @@ then
|
||||
fi
|
||||
|
||||
# check if shorewall is configured or not
|
||||
if [ -f "/etc/default/shorewall" ]
|
||||
if [ -f "/etc/default/shorewall-lite" ]
|
||||
then
|
||||
. /etc/default/shorewall
|
||||
. /etc/default/shorewall-lite
|
||||
if [ "$startup" != "1" ]
|
||||
then
|
||||
not_configured
|
||||
|
Loading…
Reference in New Issue
Block a user