mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 09:54:11 +08:00
update 2026-10-22 17:05:51
This commit is contained in:
1 parent
06b74cb314
commit
3f38c69f75
303 files changed
+7299
-130543
No files matched your search
@@ -80,8 +80,6 @@ gen_include() {
|
||||
start_service() {
|
||||
local enabled=$(uci -q get ${CONFIG}.server.enabled)
|
||||
[ "${enabled}" -eq 1 ] || return 1
|
||||
local lzo=$(uci -q get ${CONFIG}.server.lzo)
|
||||
[ "${lzo}" -eq 1 ] && lzo_conf="comp-lzo"
|
||||
mkdir -p ${TMP_OVPN_PATH}
|
||||
|
||||
_ca=${OVPN_PATH}/ca.crt
|
||||
@@ -147,7 +145,6 @@ start_service() {
|
||||
up ${SCRIPT_PATH}/up.sh
|
||||
down ${SCRIPT_PATH}/down.sh
|
||||
keepalive 10 120
|
||||
${lzo_conf}
|
||||
persist-key
|
||||
persist-tun
|
||||
script-security 3
|
||||
|
||||
Reference in new issue
Block a user