mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Apply two patches from Tuomo Soini
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
48570227ba
commit
fa9f8329b5
@ -917,6 +917,10 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/$PRODUCT/clear ]; then
|
|||||||
echo "Clear file installed as ${DESTDIR}/etc/$PRODUCT/clear"
|
echo "Clear file installed as ${DESTDIR}/etc/$PRODUCT/clear"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
# Install the Isusable file
|
||||||
|
#
|
||||||
|
run_install $OWNERSHIP -m 0644 isusable ${DESTDIR}/usr/share/$PRODUCT/configfiles/isusable
|
||||||
|
#
|
||||||
# Install the Refresh file
|
# Install the Refresh file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0644 refresh ${DESTDIR}/usr/share/$PRODUCT/configfiles/refresh
|
run_install $OWNERSHIP -m 0644 refresh ${DESTDIR}/usr/share/$PRODUCT/configfiles/refresh
|
||||||
|
@ -8,13 +8,15 @@
|
|||||||
#
|
#
|
||||||
# The script is invoked inside a function that accepts an interface
|
# The script is invoked inside a function that accepts an interface
|
||||||
# name as a single argument. The file below is designed to work with
|
# name as a single argument. The file below is designed to work with
|
||||||
# both swping and lsm as described at http://www.shorewall.net/MultiISP.html
|
# both swping and lsm as described at
|
||||||
|
# http://www.shorewall.net/MultiISP.html
|
||||||
#
|
#
|
||||||
# See http://shorewall.net/shorewall_extension_scripts.htm for additional
|
# See http://shorewall.net/shorewall_extension_scripts.htm for additional
|
||||||
# information.
|
# information.
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
local status=0
|
local status
|
||||||
|
status=0
|
||||||
|
|
||||||
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
|
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user