periodicstats: 1.4.1

This commit is contained in:
Vivek Kumar Dutta 2023-04-18 17:37:38 +05:30
parent dafd42d2e8
commit bd943a5eeb
2 changed files with 3 additions and 13 deletions

View file

@ -5,13 +5,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=periodicstats
PKG_VERSION:=1.4.0
PKG_VERSION:=1.4.1
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=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_MIRROR_HASH:=skip
endif

View file

@ -1,15 +1,11 @@
#!/bin/sh /etc/rc.common
START=99
STOP=10
STOP=01
USE_PROCD=1
PROG=/usr/sbin/periodicstatsd
service_running() {
ubus -t 10 wait_for usp.raw
}
start_service() {
local enable
@ -29,9 +25,3 @@ start_service() {
service_triggers() {
procd_add_reload_trigger periodicstats
}
reload_service() {
stop
start
}