mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01: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
|
||||
|
||||
echo "Common functions installed as ${PREFIX}/usr/share/shorewall-lite/lib.base"
|
||||
|
||||
ln -sf lib.base ${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
|
||||
|
||||
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
|
||||
exit 2
|
||||
fi
|
||||
@ -204,7 +204,7 @@ get_config() {
|
||||
export IPTABLES
|
||||
|
||||
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
|
||||
exit 2
|
||||
fi
|
||||
|
@ -208,7 +208,7 @@ get_config() {
|
||||
fi
|
||||
|
||||
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
|
||||
exit 2
|
||||
fi
|
||||
@ -270,7 +270,7 @@ get_config() {
|
||||
fi
|
||||
|
||||
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
|
||||
exit 2
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user