forked from extern/shorewall_code
More install.sh bugs
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2617 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4153741274
commit
188ea48bf3
@ -221,7 +221,7 @@ mkdir -p ${PREFIX}/var/lib/shorewall
|
|||||||
# Install the config file
|
# Install the config file
|
||||||
#
|
#
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then
|
||||||
install_file $OWNERSHIP -m 0744 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf
|
run_installinstall $OWNERSHIP -m 0744 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf
|
||||||
echo
|
echo
|
||||||
echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf"
|
echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf"
|
||||||
fi
|
fi
|
||||||
@ -234,7 +234,7 @@ fi
|
|||||||
# Install the zones file
|
# Install the zones file
|
||||||
#
|
#
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/zones ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/zones ]; then
|
||||||
install_file $OWNERSHIP -m 0744 zones ${PREFIX}/etc/shorewall/zones
|
run)install $OWNERSHIP -m 0744 zones ${PREFIX}/etc/shorewall/zones
|
||||||
echo
|
echo
|
||||||
echo "Zones file installed as ${PREFIX}/etc/shorewall/zones"
|
echo "Zones file installed as ${PREFIX}/etc/shorewall/zones"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user