Browse Source

vpnbypass: use new extra_command function definition

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
9e6d28b3cb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/vpnbypass/Makefile
  2. +1
    -1
      net/vpnbypass/files/vpnbypass.init

+ 1
- 1
net/vpnbypass/Makefile View File

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vpnbypass PKG_NAME:=vpnbypass
PKG_VERSION:=1.3.1 PKG_VERSION:=1.3.1
PKG_RELEASE:=9
PKG_RELEASE:=10
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net> PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>


+ 1
- 1
net/vpnbypass/files/vpnbypass.init View File

@ -9,7 +9,7 @@ START=94
USE_PROCD=1 USE_PROCD=1
# shellcheck disable=SC2034 # shellcheck disable=SC2034
EXTRA_COMMANDS='version'
extra_command "version" "Print version information"
version() { echo "$PKG_VERSION"; } version() { echo "$PKG_VERSION"; }
readonly __ERROR__='\033[0;31mERROR\033[0m' readonly __ERROR__='\033[0;31mERROR\033[0m'


Loading…
Cancel
Save