mirror of
https://gitlab.com/shorewall/code.git
synced 2025-04-10 18:58:25 +02:00
Allow Shorewall and Shorewall-lite to coexist on a system - Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4036 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8d075adc66
commit
47b834b048
@ -223,10 +223,6 @@ else
|
|||||||
first_install="Yes"
|
first_install="Yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_file_with_backup shorewall ${PREFIX}/sbin/shorewall 0555 ${PREFIX}/var/lib/shorewall-${VERSION}.bkout
|
|
||||||
|
|
||||||
echo "shorewall control program installed in ${PREFIX}/sbin/shorewall"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install the Firewall Script
|
# Install the Firewall Script
|
||||||
#
|
#
|
||||||
@ -276,6 +272,16 @@ if [ ! -f ${PREFIX}/etc/shorewall/zones ]; then
|
|||||||
run_install $OWNERSHIP -m 0744 zones ${PREFIX}/etc/shorewall/zones
|
run_install $OWNERSHIP -m 0744 zones ${PREFIX}/etc/shorewall/zones
|
||||||
echo "Zones file installed as ${PREFIX}/etc/shorewall/zones"
|
echo "Zones file installed as ${PREFIX}/etc/shorewall/zones"
|
||||||
fi
|
fi
|
||||||
|
#
|
||||||
|
# Install control program
|
||||||
|
#
|
||||||
|
if [ -n "$PREFIX" ]; then
|
||||||
|
install_file shorewall ${PREFIX}/usr/share/shorewall/shorewall 0555
|
||||||
|
echo "shorewall control program installed in ${PREFIX}/usr/share/shorewall/shorewall"
|
||||||
|
else
|
||||||
|
install_file_with_backup shorewall ${PREFIX}/sbin/shorewall 0555 ${PREFIX}/var/lib/shorewall-${VERSION}.bkout
|
||||||
|
echo "shorewall control program installed in ${PREFIX}/sbin/shorewall"
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install the functions file
|
# Install the functions file
|
||||||
|
Loading…
Reference in New Issue
Block a user