X-OpenWrt/AI_CHANGELOG_GETENV_ROBUSTN...

13 lines
503 B
Markdown

# AI Modification Log: Getenv Robustness
Date: 2026-06-29
## Change
- Fixed `Get_Release_Info` so it prints the kernel patch version instead of executing grep output as a command.
- Added timeouts and failure tolerance to external IP lookup calls in `Get_Action_Info`.
## Reason
The old backtick command substitution could try to execute the matched `KERNEL_PATCHVER:=...` line. The IP lookup is only diagnostic, so it should not block or fail the build when the external services are unavailable.