openwrt_helloworld/mihomo/files/uci-defaults/migrate.sh
gitea-action afd6be561e mihomo: sync upstream
last commit: f41356a78f
2024-09-30 22:30:29 +08:00

14 lines
277 B
Bash

#!/bin/sh
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
# since v1.8.4
dns_doh_prefer_http3=$(uci -q get mihomo.mixin.dns_doh_prefer_http3); [ -z "$dns_doh_prefer_http3" ] && uci set mihomo.mixin.dns_doh_prefer_http3=0
# commit
uci commit mihomo
# exit with 0
exit 0