vpnbypass: use new extra_command function definition
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 28 Oct 2020 14:57:32 +0000 (15:57 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 4 Nov 2020 07:50:34 +0000 (08:50 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/vpnbypass/Makefile
net/vpnbypass/files/vpnbypass.init

index 41a8c99a2803dd09f12bebd2ee8a4ca64fc15274..618ca6a6d1dee87a02c0c1cfc95fd16b53529e45 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=vpnbypass
 PKG_VERSION:=1.3.1
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
 
index c64654a8a48b4de675e7e57899dbfd4d8cf0d21f..241f5543bcc20f910a66352abb699521b23b0bfd 100644 (file)
@@ -9,7 +9,7 @@ START=94
 USE_PROCD=1
 
 # shellcheck disable=SC2034
-EXTRA_COMMANDS='version'
+extra_command "version" "Print version information"
 version() { echo "$PKG_VERSION"; }
 
 readonly __ERROR__='\033[0;31mERROR\033[0m'