Browse Source

blockcheck: remove never executed code

pull/100/head
bol-van 3 years ago
parent
commit
6be8087c4e
  1. 2
      blockcheck.sh

2
blockcheck.sh

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

Loading…
Cancel
Save