Browse Source

aria2: handle check_certificate=false config option

Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
lilik-openwrt-22.03
Waldemar Konik 6 years ago
parent
commit
7b1c25f48c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/aria2/files/aria2.init

+ 2
- 0
net/aria2/files/aria2.init View File

@ -252,6 +252,8 @@ aria2_start() {
if [ ."$check_certificate" = ."true" ]; then
append_setting "check-certificate=true"
append_options "ca_certificate"
elif [ ."$check_certificate" = ."false" ]; then
append_setting "check-certificate=false"
fi
if [ ."$enable_dht" = ."true" ]; then


Loading…
Cancel
Save