mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
timemngr: 1.0.11
This commit is contained in:
parent
48d35004d4
commit
c0bdff6a1c
3 changed files with 5 additions and 3 deletions
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=timemngr
|
||||
PKG_VERSION:=1.0.10
|
||||
PKG_VERSION:=1.0.11
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/timemngr.git
|
||||
PKG_SOURCE_VERSION:=7c6913f97c7e836064b9e8a663666f968d68c5a1
|
||||
PKG_SOURCE_VERSION:=14ea999ba72e878a0b11b227791e4e45a7bb520c
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ log() {
|
|||
validate_global_section() {
|
||||
uci_validate_section time global global \
|
||||
'enable:bool:1' \
|
||||
'loglevel:uinteger:1'
|
||||
'loglevel:uinteger:8'
|
||||
}
|
||||
|
||||
start_service() {
|
||||
|
|
@ -40,6 +40,7 @@ start_service() {
|
|||
procd_open_instance timemngr_ubus
|
||||
procd_set_param command $PROG_UBUS
|
||||
procd_append_param command -l ${loglevel}
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
|
||||
generate_config
|
||||
|
|
|
|||
|
|
@ -180,5 +180,6 @@ generate_config() {
|
|||
create_service() {
|
||||
procd_open_instance timemngr
|
||||
procd_set_param command "/sbin/ntpd" -g -u ntp:ntp -n -c ${CONF_FILE}
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue