Browse Source

version: bump to 3.1-5

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 2 years ago
parent
commit
c2161855ac
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makefile
  2. 1 1
      root/usr/share/unblockneteasemusic/debugging.sh

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ LUCI_PKGARCH:=all
 
 
 PKG_NAME:=luci-app-unblockneteasemusic
 PKG_NAME:=luci-app-unblockneteasemusic
 PKG_VERSION:=3.1
 PKG_VERSION:=3.1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 
 PKG_MAINTAINER:=Tianling Shen <[email protected]>
 PKG_MAINTAINER:=Tianling Shen <[email protected]>
 
 

+ 1 - 1
root/usr/share/unblockneteasemusic/debugging.sh

@@ -72,7 +72,7 @@ echo -e "\n"
 [ -n "$is_stopped" ] || {
 [ -n "$is_stopped" ] || {
 	echo -e "Firewall info:"
 	echo -e "Firewall info:"
 	if [ -e "$(command -v fw4)" ]; then
 	if [ -e "$(command -v fw4)" ]; then
-		[ -e "/etc/nftables.d/90-$NAME-rules.nft" ] || echo -e 'netease_cloud_music nft rule file not found.'
+		[ -e "/var/run/$NAME/fw4.nft" ] || echo -e 'netease_cloud_music nft rule file not found.'
 		echo -e ""
 		echo -e ""
 		nft list set inet fw4 "acl_neteasemusic_http" 2>&1
 		nft list set inet fw4 "acl_neteasemusic_http" 2>&1
 		echo -e ""
 		echo -e ""