From e38680461011b13a753ec200ab8723d7c6f1b630 Mon Sep 17 00:00:00 2001 From: bolvan Date: Wed, 15 May 2019 23:17:22 +0300 Subject: [PATCH] install_easy : kmod-ipt-raw6 --- install_easy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_easy.sh b/install_easy.sh index f695188..5320227 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -494,7 +494,8 @@ check_prerequisites_openwrt() local UPD=0 # in recent lede/openwrt iptable_raw in separate package - if ([ "$DISABLE_IPV6" = "1" ] || check_kmod ip6table_nat) && check_kmod iptable_raw && check_packages_openwrt $PKGS ; then + if ([ "$DISABLE_IPV6" = "1" ] || (check_kmod ip6table_nat && check_kmod ip6table_raw)) && \ + check_kmod iptable_raw && check_packages_openwrt $PKGS ; then echo everything is present else echo \* installing prerequisites @@ -502,6 +503,7 @@ check_prerequisites_openwrt() opkg update UPD=1 if check_package_exists_openwrt kmod-ipt-raw ; then PKGS="$PKGS kmod-ipt-raw" ; fi + if [ "$DISABLE_IPV6" != "1" ] && check_package_exists_openwrt kmod-ipt-raw6 ; then PKGS="$PKGS kmod-ipt-raw6" ; fi opkg install $PKGS || { echo could not install prerequisites exitp 6