From db360b1a9114e7a5cb45607a829930e160d32901 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Thu, 27 Mar 2025 09:47:21 +0000 Subject: [PATCH] fixed ip6tables detection --- libexec/ip6tables.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/ip6tables.init b/libexec/ip6tables.init index 6cd91dc..8a0e9d6 100755 --- a/libexec/ip6tables.init +++ b/libexec/ip6tables.init @@ -50,8 +50,8 @@ if [ $EUID != 0 ]; then exit 4 fi -if [ ! -x /sbin/$IP6TABLES ]; then - echo -n $"${IP6TABLES}: /sbin/$IP6TABLES does not exist."; warning; echo +if [ ! -x /sbin/$IP6TABLES ] -s [ ! -x /usr/sbin/$IP6TABLES ]; then + echo -n $"${IP6TABLES}: $IP6TABLES doesn't seem to be installed."; warning; echo exit 5 fi