mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: remove never executed code
This commit is contained in:
parent
5892e31b50
commit
6be8087c4e
@ -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…
Reference in New Issue
Block a user