mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Apply Simon Matter's fix for -e/-x
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4526 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a5c17ecea8
commit
c64cc58b7a
@ -291,6 +291,9 @@ echo "Default config path file installed as ${PREFIX}/usr/share/shorewall-lite/c
|
|||||||
#
|
#
|
||||||
|
|
||||||
install_file lib.base ${PREFIX}/usr/share/shorewall-lite/lib.base 0444
|
install_file lib.base ${PREFIX}/usr/share/shorewall-lite/lib.base 0444
|
||||||
|
|
||||||
|
echo "Common functions installed as ${PREFIX}/usr/share/shorewall-lite/lib.base"
|
||||||
|
|
||||||
ln -sf lib.base ${PREFIX}/usr/share/shorewall-lite/functions
|
ln -sf lib.base ${PREFIX}/usr/share/shorewall-lite/functions
|
||||||
|
|
||||||
echo "Common functions linked through ${PREFIX}/usr/share/shorewall-lite/functions"
|
echo "Common functions linked through ${PREFIX}/usr/share/shorewall-lite/functions"
|
||||||
|
@ -189,7 +189,7 @@ get_config() {
|
|||||||
export LOGFORMAT
|
export LOGFORMAT
|
||||||
|
|
||||||
if [ -n "$IPTABLES" ]; then
|
if [ -n "$IPTABLES" ]; then
|
||||||
if [ ! -e "$IPTABLES" ]; then
|
if [ ! -x "$IPTABLES" ]; then
|
||||||
echo " ERROR: The program specified in IPTABLES does not exist or is not executable" >&2
|
echo " ERROR: The program specified in IPTABLES does not exist or is not executable" >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
@ -204,7 +204,7 @@ get_config() {
|
|||||||
export IPTABLES
|
export IPTABLES
|
||||||
|
|
||||||
if [ -n "$SHOREWALL_SHELL" ]; then
|
if [ -n "$SHOREWALL_SHELL" ]; then
|
||||||
if [ ! -e "$SHOREWALL_SHELL" ]; then
|
if [ ! -x "$SHOREWALL_SHELL" ]; then
|
||||||
echo " ERROR: The program specified in SHOREWALL_SHELL does not exist or is not executable" >&2
|
echo " ERROR: The program specified in SHOREWALL_SHELL does not exist or is not executable" >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
@ -208,7 +208,7 @@ get_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$IPTABLES" ]; then
|
if [ -n "$IPTABLES" ]; then
|
||||||
if [ ! -e "$IPTABLES" ]; then
|
if [ ! -x "$IPTABLES" ]; then
|
||||||
echo " ERROR: The program specified in IPTABLES does not exist or is not executable" >&2
|
echo " ERROR: The program specified in IPTABLES does not exist or is not executable" >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
@ -270,7 +270,7 @@ get_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$SHOREWALL_SHELL" ]; then
|
if [ -n "$SHOREWALL_SHELL" ]; then
|
||||||
if [ ! -e "$SHOREWALL_SHELL" ]; then
|
if [ ! -x "$SHOREWALL_SHELL" ]; then
|
||||||
echo " ERROR: The program specified in SHOREWALL_SHELL does not exist or is not executable" >&2
|
echo " ERROR: The program specified in SHOREWALL_SHELL does not exist or is not executable" >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user