1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix ss check

This commit is contained in:
Ycarus 2018-05-24 17:12:03 +02:00
parent 9028cc1823
commit c8b3943350

View file

@ -2,7 +2,7 @@
NBCPU=$(grep -c '^processor' /proc/cpuinfo | tr -d "\n")
if [ "$NBCPU" -gt 2 ]; then
if [ "$(uci -q get shadowsocks-libev.hi2)" = "" ]; then
if [ "$(uci -q get shadowsocks-libev.hi3)" = "" ]; then
for c in $(seq 3 $NBCPU); do
uci -q batch <<-EOF >/dev/null
set shadowsocks-libev.hi$c=ss_redir