luci-app-ssr-plus: fix socks5 global server auto-start
This commit is contained in:
parent
672a03ee3a
commit
0aead55000
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-ssr-plus
|
||||
PKG_VERSION:=174
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
||||
@ -577,7 +577,7 @@ start_server() {
|
||||
}
|
||||
|
||||
start_local() {
|
||||
local local_server=$(uci_get_by_type socks5_proxy server)
|
||||
local local_server=$(uci_get_by_type socks5_proxy server nil)
|
||||
[ "$local_server" = "nil" ] && return 1
|
||||
local local_type=$(uci_get_by_name $local_server type)
|
||||
mkdir -p /var/run /var/etc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user