mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 18:02:46 +00:00
ltq-vdsl-app: use ubus to provide metrics
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider <a.heider@gmail.com> Tested-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
parent
42fc827b11
commit
5e1a929bf2
@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=ltq-vdsl-app
|
PKG_NAME:=ltq-vdsl-app
|
||||||
PKG_VERSION:=4.17.18.6
|
PKG_VERSION:=4.17.18.6
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
PKG_BASE_NAME:=dsl_cpe_control
|
PKG_BASE_NAME:=dsl_cpe_control
|
||||||
PKG_SOURCE:=$(PKG_BASE_NAME)_vrx-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_BASE_NAME)_vrx-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@OPENWRT
|
PKG_SOURCE_URL:=@OPENWRT
|
||||||
|
@ -4,10 +4,11 @@
|
|||||||
START=97
|
START=97
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
extra_command "dslstat" "Get DSL status information"
|
dslstat() {
|
||||||
extra_command "lucistat" "Get status information in lua friendly format"
|
ubus call dsl metrics
|
||||||
|
}
|
||||||
|
|
||||||
. /lib/functions/lantiq_dsl.sh
|
extra_command "dslstat" "Get DSL status information"
|
||||||
|
|
||||||
#
|
#
|
||||||
# ITU-T G.997.1 (06/2012) - Section 7.3.1.1.1 (xTU transmission system enabling (XTSE))
|
# ITU-T G.997.1 (06/2012) - Section 7.3.1.1.1 (xTU transmission system enabling (XTSE))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user