blockcheck: remove never executed code

This commit is contained in:
bol-van 2022-04-06 14:12:50 +03:00
parent 5892e31b50
commit 6be8087c4e

View File

@ -169,14 +169,12 @@ check_prerequisites()
progs="$progs iptables ip6tables" progs="$progs iptables ip6tables"
ipt_has_nfq || { ipt_has_nfq || {
echo NFQUEUE iptables or ip6tables target is missing. pls install modules. echo NFQUEUE iptables or ip6tables target is missing. pls install modules.
[ "$SUBSYS" = openwrt ] && echo 'OpenWRT : opkg update ; opkg install iptables-mod-nfqueue'
exitp 6 exitp 6
} }
;; ;;
nftables) nftables)
nft_has_nfq || { nft_has_nfq || {
echo nftables queue support is not available. pls install modules. echo nftables queue support is not available. pls install modules.
[ "$SUBSYS" = openwrt ] && echo 'OpenWRT : opkg update ; opkg install kmod-nft-queue'
exitp 6 exitp 6
} }
;; ;;