[openwrt/openwrt] ltq-adsl-app: use new extra_command wrapper

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 2 15:32:59 EST 2020


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/00e87255f297422037ddfa865ad8c3de11f24014

commit 00e87255f297422037ddfa865ad8c3de11f24014
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Fri Jul 24 09:55:37 2020 +0200

    ltq-adsl-app: use new extra_command wrapper
    
    Use new `extra_command` wrapper to fix the alignement.
    
    Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
 package/network/config/ltq-adsl-app/Makefile          | 2 +-
 package/network/config/ltq-adsl-app/files/dsl_control | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/network/config/ltq-adsl-app/Makefile b/package/network/config/ltq-adsl-app/Makefile
index eb7c10d51a..cfd66d0ee4 100644
--- a/package/network/config/ltq-adsl-app/Makefile
+++ b/package/network/config/ltq-adsl-app/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=dsl_cpe_control_danube
 PKG_VERSION:=3.24.4.4
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_BUILD_DIR:=$(BUILD_DIR)/dsl_cpe_control-$(PKG_VERSION)
 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control
index 44f5fb8690..49c342d9d5 100644
--- a/package/network/config/ltq-adsl-app/files/dsl_control
+++ b/package/network/config/ltq-adsl-app/files/dsl_control
@@ -4,9 +4,8 @@
 START=97
 USE_PROCD=1
 
-EXTRA_COMMANDS="dslstat lucistat"
-EXTRA_HELP="	dslstat Get DSL status information
-	lucistat Get status information in lua friendly format"
+extra_command "dslstat" "Get DSL status information"
+extra_command "lucistat" "Get status information in lua friendly format"
 
 . /lib/functions/lantiq_dsl.sh
 



More information about the lede-commits mailing list