Add support check and install updates from GitHub

This commit is contained in:
remittor
2025-12-17 11:28:46 +03:00
parent 565ef66299
commit a5156e0d0c
6 changed files with 665 additions and 10 deletions

View File

@@ -90,6 +90,16 @@ function get_run_on_boot_option
fi
}
function get_cpu_arch
{
if [ -f /etc/openwrt_release ]; then
. /etc/openwrt_release
printf '%s' "$DISTRIB_ARCH"
else
printf 'unknown'
fi
}
function restore_ipset_txt
{
local cfgname=$1