Skip to content

Commit

Permalink
更新QCA系列设置
Browse files Browse the repository at this point in the history
  • Loading branch information
VIKINGYFY committed Oct 8, 2024
1 parent 701821f commit 4795780
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 35 deletions.
54 changes: 24 additions & 30 deletions Config/GENERAL.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
#科学插件调整
CONFIG_PACKAGE_luci-app-homeproxy=y
#增加插件
CONFIG_PACKAGE_luci-app-upnp=y
CONFIG_PACKAGE_luci-app-samba4=y
CONFIG_PACKAGE_luci-app-diskman=y
CONFIG_PACKAGE_luci-app-wolplus=y
CONFIG_PACKAGE_luci-app-tailscale=y
CONFIG_PACKAGE_luci-app-autoreboot=y
CONFIG_PACKAGE_luci-app-advancedplus=y
CONFIG_PACKAGE_luci-theme-kucat=y
#删除插件
CONFIG_PACKAGE_luci-app-wol=n
CONFIG_PACKAGE_luci-app-ddns=n
CONFIG_PACKAGE_luci-app-vlmcsd=n
CONFIG_PACKAGE_luci-app-xlnetacc=n
CONFIG_PACKAGE_luci-app-zerotier=n
CONFIG_PACKAGE_luci-app-wireguard=n
CONFIG_PACKAGE_luci-app-ipsec-vpnd=n
CONFIG_PACKAGE_luci-app-adbyby-plus=n
CONFIG_PACKAGE_luci-app-filetransfer=n
CONFIG_PACKAGE_luci-app-unblockmusic=n
CONFIG_PACKAGE_luci-app-accesscontrol=n
CONFIG_PACKAGE_luci-app-fileassistant=n
#参数调整
CONFIG_DEVEL=y
CONFIG_CCACHE=y
Expand Down Expand Up @@ -42,7 +66,6 @@ CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_cpufreq=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_iperf3=y
CONFIG_PACKAGE_ipv6helper=y
CONFIG_PACKAGE_cfdisk=y
CONFIG_PACKAGE_cgdisk=y
CONFIG_PACKAGE_fdisk=y
Expand All @@ -59,32 +82,3 @@ CONFIG_PACKAGE_luci-lib-base=y
CONFIG_PACKAGE_luci-lib-ipkg=y
CONFIG_PACKAGE_luci-lua-runtime=y
CONFIG_PACKAGE_wpad-openssl=y
#科学插件调整
CONFIG_PACKAGE_luci-app-homeproxy=y
#增加插件
CONFIG_PACKAGE_luci-app-upnp=y
CONFIG_PACKAGE_luci-app-samba4=y
CONFIG_PACKAGE_luci-app-diskman=y
CONFIG_PACKAGE_luci-app-wolplus=y
CONFIG_PACKAGE_luci-app-tailscale=y
CONFIG_PACKAGE_luci-app-autoreboot=y
CONFIG_PACKAGE_luci-app-advancedplus=y
CONFIG_PACKAGE_luci-theme-kucat=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_luci-theme-bootstrap-mod=y
CONFIG_PACKAGE_luci-theme-material=y
CONFIG_PACKAGE_luci-theme-openwrt=y
CONFIG_PACKAGE_luci-theme-openwrt-2020=y
#删除插件
CONFIG_PACKAGE_luci-app-wol=n
CONFIG_PACKAGE_luci-app-ddns=n
CONFIG_PACKAGE_luci-app-vlmcsd=n
CONFIG_PACKAGE_luci-app-xlnetacc=n
CONFIG_PACKAGE_luci-app-zerotier=n
CONFIG_PACKAGE_luci-app-wireguard=n
CONFIG_PACKAGE_luci-app-ipsec-vpnd=n
CONFIG_PACKAGE_luci-app-adbyby-plus=n
CONFIG_PACKAGE_luci-app-filetransfer=n
CONFIG_PACKAGE_luci-app-unblockmusic=n
CONFIG_PACKAGE_luci-app-accesscontrol=n
CONFIG_PACKAGE_luci-app-fileassistant=n
1 change: 1 addition & 0 deletions Config/IPQ807X-WIFI-NO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_PACKAGE_kmod-ath11k=n
CONFIG_PACKAGE_kmod-ath11k-ahb=n
CONFIG_PACKAGE_kmod-ath11k-pci=n
CONFIG_PACKAGE_ath11k-firmware-ipq8074=n
CONFIG_PACKAGE_ath11k-firmware-qcn9074=n
1 change: 1 addition & 0 deletions Config/IPQ807X-WIFI-YES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_PACKAGE_kmod-ath11k=y
CONFIG_PACKAGE_kmod-ath11k-ahb=y
CONFIG_PACKAGE_kmod-ath11k-pci=y
CONFIG_PACKAGE_ath11k-firmware-ipq8074=y
CONFIG_PACKAGE_ath11k-firmware-qcn9074=y
8 changes: 8 additions & 0 deletions Scripts/Handles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ if [ -f "$SP_FILE" ]; then

cd $PKG_PATCH && echo "ssr-plus has been fixed!"
fi

#修复freeswitch依赖缺失
FW_FILE=$(find ../feeds/telephony/ -maxdepth 3 -type f -wholename "*/freeswitch/Makefile")
if [ -f "$FW_FILE" ]; then
sed -i "s/libpcre/libpcre2/g" $FW_FILE

cd $PKG_PATCH && echo "freeswitch has been fixed!"
fi
9 changes: 4 additions & 5 deletions Scripts/Settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ if [ -n "$WRT_PACKAGE" ]; then
echo "$WRT_PACKAGE" >> ./.config
fi

#高通平台锁定512M内存
#高通平台调整
if [[ $WRT_TARGET == *"IPQ"* ]]; then
echo "CONFIG_IPQ_MEM_PROFILE_1024=n" >> ./.config
echo "CONFIG_IPQ_MEM_PROFILE_512=y" >> ./.config
echo "CONFIG_ATH11K_MEM_PROFILE_1G=n" >> ./.config
echo "CONFIG_ATH11K_MEM_PROFILE_512M=y" >> ./.config
#取消nss相关feed
echo "CONFIG_FEED_nss_packages=n" >> ./.config
echo "CONFIG_FEED_sqm_scripts_nss=n" >> ./.config
fi

0 comments on commit 4795780

Please sign in to comment.