mkdir -p /tmp/awg-check
(
cd /tmp/awg-check || exit 1
base='https://github.com/Slava-Shchipunov/awg-openwrt/releases/download/v25.12.2'
for pkg in kmod-amneziawg amneziawg-tools luci-proto-amneziawg; do
file="${pkg}_v25.12.2_mipsel_24kc_ramips_mt76x8.apk"
wget -4 -O "$file" "$base/$file" || exit 1
done
)
apk update
apk add --simulate --allow-untrusted /tmp/awg-check/*.apk