This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
shadowsocks-libev: shorten init script by 2 lines
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou
7 years ago
parent
ec6f7f7f53
commit
8d7c2f2073
2 changed files
with
3 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
net/shadowsocks-libev/Makefile
+2
-4
net/shadowsocks-libev/files/shadowsocks-libev.init
+ 1
- 1
net/shadowsocks-libev/Makefile
View File
@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME
:=
shadowsocks-libev
PKG_VERSION
:=
3.0.8
PKG_RELEASE
:=
1
0
PKG_RELEASE
:=
1
1
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
https://github.com/shadowsocks/shadowsocks-libev/releases/download/v
$(
PKG_VERSION
)
+ 2
- 4
net/shadowsocks-libev/files/shadowsocks-libev.init
View File
@ -28,9 +28,7 @@ ss_mkjson_() {
local func
for func in "$@"; do
if ! "$func"; then
return 1
fi
"$func" || return 1
done
}
@ -184,7 +182,7 @@ ss_rules() {
}
start_service() {
local cfgtype
="$1"
local cfgtype
mkdir -p "$ss_confdir"
config_load shadowsocks-libev
Write
Preview
Loading…
Cancel
Save