fixed ip6tables detection
This commit is contained in:
parent
8113ba7df9
commit
db360b1a91
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user