mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
periodicstats: 1.4.1
This commit is contained in:
parent
dafd42d2e8
commit
bd943a5eeb
2 changed files with 3 additions and 13 deletions
|
|
@ -5,13 +5,13 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=periodicstats
|
PKG_NAME:=periodicstats
|
||||||
PKG_VERSION:=1.4.0
|
PKG_VERSION:=1.4.1
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/periodicstats.git
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/periodicstats.git
|
||||||
PKG_SOURCE_VERSION:=1736b9bc2c0958b225fe8ce3f9f09d73321be25f
|
PKG_SOURCE_VERSION:=415b7b59d7cd84cb133b20e27eca63a8cd74a155
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,11 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
START=99
|
START=99
|
||||||
STOP=10
|
STOP=01
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
PROG=/usr/sbin/periodicstatsd
|
PROG=/usr/sbin/periodicstatsd
|
||||||
|
|
||||||
service_running() {
|
|
||||||
ubus -t 10 wait_for usp.raw
|
|
||||||
}
|
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
local enable
|
local enable
|
||||||
|
|
||||||
|
|
@ -29,9 +25,3 @@ start_service() {
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_trigger periodicstats
|
procd_add_reload_trigger periodicstats
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service() {
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue