2
0
forked from Ivasoft/openwrt

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:
Andre Heider
2021-01-26 09:00:50 +01:00
committed by Hauke Mehrtens
parent 42fc827b11
commit 5e1a929bf2
2 changed files with 5 additions and 4 deletions

View File

@@ -4,10 +4,11 @@
START=97
USE_PROCD=1
extra_command "dslstat" "Get DSL status information"
extra_command "lucistat" "Get status information in lua friendly format"
dslstat() {
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))