mirror of
https://github.com/openwrt/packages.git
synced 2026-05-30 03:36:24 +08:00
fsh: update to 4.11.0
Upstream changelog: https://github.com/heiher/hev-fsh/releases/tag/4.11.0 Signed-off-by: Ray Wang <git@hev.cc>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fsh
|
||||
PKG_VERSION:=4.10.0
|
||||
PKG_VERSION:=4.11.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/heiher/hev-fsh/releases/download/$(PKG_VERSION)
|
||||
PKG_HASH:=6b041ccaa95a88b50fe25ede62925f815ba3f5f50c2ae0ba53c39d22ec5c4b40
|
||||
PKG_HASH:=767f493233cbad076fad5f837066eacdd50c92c807acdab258fd3fe418eeaeff
|
||||
|
||||
PKG_MAINTAINER:=Ray Wang <git@hev.cc>
|
||||
PKG_LICENSE:=MIT
|
||||
|
||||
@@ -3,6 +3,7 @@ config fshs
|
||||
option addr '[::]'
|
||||
option port '6339'
|
||||
option tokens '/etc/fsh'
|
||||
option params ''
|
||||
|
||||
config fshc
|
||||
option enable '0'
|
||||
|
||||
@@ -12,6 +12,7 @@ validate_section_fshs() {
|
||||
'addr:string' \
|
||||
'port:port' \
|
||||
'tokens:string'
|
||||
'params:string' \
|
||||
}
|
||||
|
||||
fshs_instance() {
|
||||
@@ -28,6 +29,7 @@ fshs_instance() {
|
||||
[ -n "$tokens" ] && [ -e "$tokens" ] && {
|
||||
procd_append_param command -a "$tokens"
|
||||
}
|
||||
[ -n "$params" ] && procd_append_param command ${params}
|
||||
procd_append_param command "$addr":"$port"
|
||||
|
||||
procd_set_param limits core="unlimited"
|
||||
|
||||
Reference in New Issue
Block a user