diff options
Diffstat (limited to 'saswall')
-rwxr-xr-x | saswall | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -29,11 +29,16 @@ ## ## +SASWALL_CONFIRM_TIMEOUT=20 # may get overwritten by rules.sh!! + +if [ ! -x /etc/saswall/rules.sh ]; then + echo "no rules file found or script is not executeable - firewall is disabled!!" + exit 0 +fi + trap saswall_signal INT TERM trap saswall_exit EXIT -SASWALL_CONFIRM_TIMEOUT=20 # may get overwritten by rules.sh!! - . /etc/saswall/rules.sh saswall_signal() @@ -141,4 +146,3 @@ reload) esac exit 0 - |