Skip to content

Commit

Permalink
Update x86-part2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yhl452493373 committed Jul 4, 2023
1 parent 520af92 commit 92ce6ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x86-part2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#=================================================

#修复netfilter在linux 6.1.x上无法编译问题
sed -i 's/CONFIG_NF_FLOW_TABLE_IPV4 \\/CONFIG_NF_FLOW_TABLE_IPV4@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
sed -i 's/CONFIG_NF_FLOW_TABLE_IPV6 \\/CONFIG_NF_FLOW_TABLE_IPV6@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
sed -i 's/$(LINUX_DIR)\/net\/ipv4\/netfilter\/nf_flow_table_ipv4.ko \\/$(LINUX_DIR)\/net\/ipv4\/netfilter\/nf_flow_table_ipv4.ko@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
sed -i 's/$(LINUX_DIR)\/net\/ipv6\/netfilter\/nf_flow_table_ipv6.ko \\/$(LINUX_DIR)\/net\/ipv6\/netfilter\/nf_flow_table_ipv6.ko@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
#sed -i 's/CONFIG_NF_FLOW_TABLE_IPV4 \\/CONFIG_NF_FLOW_TABLE_IPV4@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
#sed -i 's/CONFIG_NF_FLOW_TABLE_IPV6 \\/CONFIG_NF_FLOW_TABLE_IPV6@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
#sed -i 's/$(LINUX_DIR)\/net\/ipv4\/netfilter\/nf_flow_table_ipv4.ko \\/$(LINUX_DIR)\/net\/ipv4\/netfilter\/nf_flow_table_ipv4.ko@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk
#sed -i 's/$(LINUX_DIR)\/net\/ipv6\/netfilter\/nf_flow_table_ipv6.ko \\/$(LINUX_DIR)\/net\/ipv6\/netfilter\/nf_flow_table_ipv6.ko@lt6.1 \\/g' package/kernel/linux/modules/netfilter.mk

#调整软件在菜单中的名称
#luci-app-upnp
Expand Down

0 comments on commit 92ce6ef

Please sign in to comment.