From 9e6d28b3cbcfde348f566d0dc891ca778f686f98 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 28 Oct 2020 15:57:32 +0100 Subject: [PATCH] vpnbypass: use new extra_command function definition Signed-off-by: Florian Eckert --- net/vpnbypass/Makefile | 2 +- net/vpnbypass/files/vpnbypass.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/vpnbypass/Makefile b/net/vpnbypass/Makefile index 41a8c99a2..618ca6a6d 100644 --- a/net/vpnbypass/Makefile +++ b/net/vpnbypass/Makefile @@ -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 diff --git a/net/vpnbypass/files/vpnbypass.init b/net/vpnbypass/files/vpnbypass.init index c64654a8a..241f5543b 100644 --- a/net/vpnbypass/files/vpnbypass.init +++ b/net/vpnbypass/files/vpnbypass.init @@ -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'