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:
teastep 2006-09-05 14:29:47 +00:00
parent a5c17ecea8
commit c64cc58b7a
3 changed files with 7 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

@ -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