[openwrt/openwrt] dropbear: use new extra_command wrapper

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


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/42675aa30cdc2cc14e9a271dde3a26130baebb46

commit 42675aa30cdc2cc14e9a271dde3a26130baebb46
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Fri Jul 24 09:33:59 2020 +0200

    dropbear: 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/services/dropbear/Makefile            | 2 +-
 package/network/services/dropbear/files/dropbear.init | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 6c97d3e77b..1ecca2feb1 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dropbear
 PKG_VERSION:=2020.80
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:= \
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index ab8e908d8c..ea4cad2a8d 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -9,8 +9,8 @@ USE_PROCD=1
 PROG=/usr/sbin/dropbear
 NAME=dropbear
 PIDCOUNT=0
-EXTRA_COMMANDS="killclients"
-EXTRA_HELP="	killclients Kill ${NAME} processes except servers and yourself"
+
+extra_command "killclients" "Kill ${NAME} processes except servers and yourself"
 
 _dropbearkey()
 {



More information about the lede-commits mailing list