tinc: use new extra_command function definition
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 28 Oct 2020 14:56:46 +0000 (15:56 +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/tinc/Makefile
net/tinc/files/tinc.init

index ec5a27b602c4b0a4a4f47c9619053d923da27968..c8949b4d1ebe8a5e229d52890a7a2461a33d4013 100644 (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
index e49b358770f34e48779d28742bfa33847cee113c..351accfd690368df4dc9a97e72b368765ee82df8 100644 (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="
 "