Browse Source

tinc: 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
3364d6665a
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      net/tinc/Makefile
  2. +2
    -1
      net/tinc/files/tinc.init

+ 1
- 1
net/tinc/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tinc
PKG_VERSION:=1.0.36
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.tinc-vpn.org/packages


+ 2
- 1
net/tinc/files/tinc.init View File

@ -10,7 +10,8 @@ START=42
SERVICE_USE_PID=1
BIN=/usr/sbin/tincd
EXTRA_COMMANDS="up down"
extra_command "up" "<instance> Setting instance up"
extra_command "down" "<instance> Setting instance down"
LIST_SEP="
"


Loading…
Cancel
Save