mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 03:26:51 +03:00
feat: honor download_lists_via_proxy and use its outbound section as detour tag for rule set
This commit is contained in:
@@ -1364,7 +1364,10 @@ get_service_proxy_address() {
|
||||
get_download_detour_tag() {
|
||||
config_get_bool download_lists_via_proxy "settings" "download_lists_via_proxy" 0
|
||||
if [ "$download_lists_via_proxy" -eq 1 ]; then
|
||||
echo "$SB_MAIN_OUTBOUND_TAG"
|
||||
local download_lists_via_proxy_section section_outbound_tag
|
||||
config_get download_lists_via_proxy_section "settings" "download_lists_via_proxy_section"
|
||||
section_outbound_tag="$(get_outbound_tag_by_section "$download_lists_via_proxy_section")"
|
||||
echo "$section_outbound_tag"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user