mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
666490343d
commit
2067bd73de
2 changed files with 4 additions and 4 deletions
|
@ -93,8 +93,8 @@ function add_interface(add_interface_ifname)
|
|||
ucic:set("qos","wan" .. i,"interface")
|
||||
ucic:set("qos","wan" .. i,"classgroup","Default")
|
||||
ucic:set("qos","wan" .. i,"enabled","0")
|
||||
ucic:set("qos","wan" .. i,"upload","4000")
|
||||
ucic:set("qos","wan" .. i,"download","100000")
|
||||
ucic:set("qos","wan" .. i,"upload","1000000")
|
||||
ucic:set("qos","wan" .. i,"download","1000000")
|
||||
ucic:save("qos")
|
||||
ucic:commit("qos")
|
||||
|
||||
|
@ -163,7 +163,7 @@ function set_interface(intf,proto,ipaddr,netmask,gateway,sqmenabled,downloadspee
|
|||
ucic:set("qos",intf,"interface")
|
||||
ucic:set("qos",intf,"classgroup","Default")
|
||||
ucic:set("qos",intf,"enabled","0")
|
||||
ucic:set("qos",intf,"upload","4000")
|
||||
ucic:set("qos",intf,"upload","100000")
|
||||
ucic:set("qos",intf,"download","100000")
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ _launch_autorate() {
|
|||
# shellcheck disable=SC2086
|
||||
procd_set_param command /usr/share/sqm-autorate/CAKE-autorate.sh "$1"
|
||||
# procd_append_param env "OMR_TRACKER_SERVER_HTTP_TEST=$server_http_test"
|
||||
procd_set_param limits nofile="51200 51200"
|
||||
procd_set_param limits nofile="512000 512000"
|
||||
procd_set_param respawn 0 10 0
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue