From b72169afe4d438fac2bfccccd6c2befe28f9763c Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sat, 11 Apr 2026 05:02:55 -0700 Subject: [PATCH] Workaround for Entware Binaries using RUNPATH Added "unset LD_LIBRARY_PATH" line as a workaround due to the latest Entware binaries using the RUNPATH embedded library search path mechanism instead of the previous RPATH method. RUNPATH is searched AFTER the LD_LIBRARY_PATH definitions, whereas RPATH has higher priority than the LD_LIBRARY_PATH environment variable, so it's searched FIRST. --- README.md | 4 ++-- YazFi.sh | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6e68b1d..3dbfebd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # YazFi - enhanced AsusWRT-Merlin Guest WiFi Networks -## v4.4.10 -### Updated on 2026-Mar-21 +## v4.4.11 +### Updated on 2026-Apr-11 ## About Feature expansion of guest WiFi networks on AsusWRT-Merlin, including, but not limited to: diff --git a/YazFi.sh b/YazFi.sh index 23bea7c..b6d024c 100644 --- a/YazFi.sh +++ b/YazFi.sh @@ -17,7 +17,7 @@ ## Guest Network DHCP script and for ## ## AsusWRT-Merlin firmware ## ################################################### -# Last Modified: 2026-Mar-21 +# Last Modified: 2026-Apr-11 #-------------------------------------------------- ###### Shellcheck directives ###### @@ -41,9 +41,9 @@ ### Start of script variables ### readonly SCRIPT_NAME="YazFi" readonly SCRIPT_CONF="/jffs/addons/$SCRIPT_NAME.d/config" -readonly YAZFI_VERSION="v4.4.10" -readonly SCRIPT_VERSION="v4.4.10" -readonly SCRIPT_VERSTAG="26032100" +readonly YAZFI_VERSION="v4.4.11" +readonly SCRIPT_VERSION="v4.4.11" +readonly SCRIPT_VERSTAG="26041104" SCRIPT_BRANCH="develop" SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH" readonly SCRIPT_DIR="/jffs/addons/$SCRIPT_NAME.d" @@ -72,6 +72,9 @@ readonly MGNTct="\e[1;35m" ### Start of router environment variables ### +# Workaround for Entware ELF binaries compiled with RUNPATH # +unset LD_LIBRARY_PATH + # Give higher priority to built-in binaries # export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"