mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Force chacha20 for ShadowSocks
This commit is contained in:
parent
48e81ff30e
commit
44182604c2
1 changed files with 6 additions and 0 deletions
|
@ -33,5 +33,11 @@ if [ "$(uci -q get shadowsocks-libev.hi.timeout)" != "600" ]; then
|
|||
EOF
|
||||
done
|
||||
fi
|
||||
if [ "$(uci -q get shadowsocks-libev.sss0.method)" != "chacha20" ]; then
|
||||
uci -q batch <<-EOF > /dev/null
|
||||
set shadowsocks-libev.sss0.method=chacha20
|
||||
commit shadowsocks-libev
|
||||
EOF
|
||||
fi
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue