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:
parent
9028cc1823
commit
c8b3943350
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue