浏览代码

fix(init): force nftset for fw4

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 3 年之前
父节点
当前提交
8a672118cd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      root/etc/init.d/unblockneteasemusic

+ 1 - 1
root/etc/init.d/unblockneteasemusic

@@ -165,7 +165,7 @@ start_service() {
 	local tmp="/tmp/$NAME"
 	if [ "${hijack_ways}" = "use_ipset" ]; then
 		local settype nftflag
-		if [ -n "$FW4"] && dnsmasq --version | grep -q 'Compile time options:.* nftset'; then
+		if [ -n "$FW4"]; then
 			settype="nftset"
 			nftflag="inet#fw4#"
 		else