File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77# Description: This script updates AdGuardHome to the latest version.
88# Thread: https://forum.gl-inet.com/t/how-to-update-adguard-home-testing/39398
99# Author: Admon
10- SCRIPT_VERSION=" 2025.06.20.01 "
10+ SCRIPT_VERSION=" 2025.06.20.02 "
1111SCRIPT_NAME=" update-adguardhome.sh"
1212UPDATE_URL=" https://raw.githubusercontent.com/Admonstrator/glinet-adguard-updater/main/update-adguardhome.sh"
1313AGH_TINY_URL=" https://github.com/Admonstrator/glinet-adguard-updater/releases/latest/download"
@@ -237,7 +237,10 @@ enable_querylog() {
237237disable_multipath_tcp () {
238238 log " INFO" " Disabling multipath TCP ..."
239239 if ! grep -q ' procd_set_param env GODEBUG=multipathtcp=0' /etc/init.d/adguardhome; then
240- sed -i ' /procd_set_param stderr 1/a\procd_set_param env GODEBUG=multipathtcp=0' /etc/init.d/adguardhome
240+ sed -i ' /procd_set_param stderr 1/a\ procd_set_param env GODEBUG=multipathtcp=0' /etc/init.d/adguardhome
241+ else
242+ log " INFO" " Multipath TCP is already disabled in /etc/init.d/adguardhome"
243+ return 0
241244 fi
242245 log " SUCCESS" " Multipath TCP is now disabled."
243246 log " INFO" " This is to prevent issues with AdGuard Home on GL.iNet routers."
You can’t perform that action at this time.
0 commit comments