mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-07 12:06:56 +03:00
Fix rule for section custom_download
This commit is contained in:
@@ -101,6 +101,8 @@ Luci: Services/podkop
|
|||||||
list doh_server '127.0.0.1#5053'
|
list doh_server '127.0.0.1#5053'
|
||||||
list doh_server '127.0.0.1#5054'
|
list doh_server '127.0.0.1#5054'
|
||||||
```
|
```
|
||||||
|
- [x] Только кастомный remote list не создаёт секцию в route-rules-rule-set и dns-rules-ruleset
|
||||||
|
|
||||||
# ToDo
|
# ToDo
|
||||||
Этот раздел не означает задачи, которые нужно брать и делать. Это общий список хотелок. Если вы хотите помочь, пожалуйста, спросите сначала в телеграмме.
|
Этот раздел не означает задачи, которые нужно брать и делать. Это общий список хотелок. Если вы хотите помочь, пожалуйста, спросите сначала в телеграмме.
|
||||||
|
|
||||||
|
|||||||
@@ -1210,8 +1210,11 @@ process_remote_ruleset() {
|
|||||||
sing_box_rule_preset() {
|
sing_box_rule_preset() {
|
||||||
config_get custom_domains_list_type "$section" "custom_domains_list_type"
|
config_get custom_domains_list_type "$section" "custom_domains_list_type"
|
||||||
config_get custom_subnets_list_enabled "$section" "custom_subnets_list_enabled"
|
config_get custom_subnets_list_enabled "$section" "custom_subnets_list_enabled"
|
||||||
|
config_get custom_local_domains_list_enabled "$section" "custom_local_domains_list_enabled"
|
||||||
|
config_get custom_download_domains_list_enabled "$section" "custom_download_domains_list_enabled"
|
||||||
|
|
||||||
if [ "$custom_domains_list_type" != "disabled" ] || [ "$custom_subnets_list_enabled" != "disabled" ]; then
|
if [ "$custom_domains_list_type" != "disabled" ] || [ "$custom_subnets_list_enabled" != "disabled" ]
|
||||||
|
|| [ "$custom_local_domains_list_enabled" = "1" ] || [ "$custom_download_domains_list_enabled" = "1" ]; then
|
||||||
sing_box_rules "$section" "$section"
|
sing_box_rules "$section" "$section"
|
||||||
sing_box_dns_rule_fakeip_section "$section" "$section"
|
sing_box_dns_rule_fakeip_section "$section" "$section"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user