From 8113ba7df95084a22e365556a55b49416a3ce16e Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Thu, 27 Mar 2025 09:46:16 +0000 Subject: [PATCH] Fixed iptables detection --- libexec/iptables.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/iptables.init b/libexec/iptables.init index b6bb0a2..9908bbe 100755 --- a/libexec/iptables.init +++ b/libexec/iptables.init @@ -50,8 +50,8 @@ if [ $EUID != 0 ]; then exit 4 fi -if [ ! -x /sbin/$IPTABLES ]; then - echo -n $"${IPTABLES}: /sbin/$IPTABLES does not exist."; warning; echo +if [ ! -x /sbin/$IPTABLES ] -a [ ! -x /usr/sbin/$IPTABLES ]; then + echo -n $"${IPTABLES}: $IPTABLES does't seem to be installed."; warning; echo exit 5 fi