parent
5f599e72a9
commit
4a8618e3d7
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mihomo
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git
|
||||
|
@ -227,7 +227,7 @@ start_service() {
|
||||
fi
|
||||
if [ "$hosts" == 1 ]; then
|
||||
yq -M -i 'del(.hosts)' "$RUN_PROFILE_PATH"
|
||||
config_foreach mixin_hosts "host"
|
||||
config_foreach mixin_hosts "hosts"
|
||||
fi
|
||||
if [ "$dns_nameserver" == 1 ]; then
|
||||
yq -M -i 'del(.dns.default-nameserver) | del(.dns.proxy-server-nameserver) | del(.dns.direct-nameserver) | del(.dns.nameserver) | del(.dns.fallback)' "$RUN_PROFILE_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user