fixed ip6tables detection

This commit is contained in:
Marcel Stangenberger 2025-03-27 09:47:21 +00:00
parent 8113ba7df9
commit db360b1a91

View File

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