vpnbypass: use new extra_command function definition

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2020-10-28 15:57:32 +01:00
parent fe4d4f0bcc
commit 9e6d28b3cb
2 changed files with 2 additions and 2 deletions

View 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>

View 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'