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