mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-31 03:48:17 +03:00
Add support check and install updates from GitHub
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user