This commit is contained in:
CodeRoK7
2025-08-23 18:54:26 +00:00
parent f5ff284f19
commit c52df10834

View File

@@ -2,7 +2,7 @@
DESCRIPTION=$(ubus call system board | jsonfilter -e '@.release.description')
VERSION=$(ubus call system board | jsonfilter -e '@.release.version')
findKey="Routerich"
findKey="RouteRich"
findVersion="24.10.2"
if echo "$DESCRIPTION" | grep -qi -- "$findKey" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then