Bläddra i källkod

fix(init): force nftset for fw4

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 2 år sedan
förälder
incheckning
8a672118cd
1 ändrade filer med 1 tillägg och 1 borttagningar
  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"
 	local tmp="/tmp/$NAME"
 	if [ "${hijack_ways}" = "use_ipset" ]; then
 	if [ "${hijack_ways}" = "use_ipset" ]; then
 		local settype nftflag
 		local settype nftflag
-		if [ -n "$FW4"] && dnsmasq --version | grep -q 'Compile time options:.* nftset'; then
+		if [ -n "$FW4"]; then
 			settype="nftset"
 			settype="nftset"
 			nftflag="inet#fw4#"
 			nftflag="inet#fw4#"
 		else
 		else