From 3a13fb289e818e20fc795bdce22487a4dc40597d Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Thu, 2 Jun 2022 19:41:48 +0200 Subject: [PATCH] security/tinc-devel: rc script support network argument PR: 264345 --- security/tinc-devel/Makefile | 2 +- security/tinc-devel/files/tincd.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/security/tinc-devel/Makefile b/security/tinc-devel/Makefile index 7844c8ac0d9c..9ef92551c7a1 100644 --- a/security/tinc-devel/Makefile +++ b/security/tinc-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= tinc PORTVERSION= 1.1pre18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net-vpn MASTER_SITES= https://www.tinc-vpn.org/packages/ \ http://www.tinc-vpn.org/packages/ diff --git a/security/tinc-devel/files/tincd.in b/security/tinc-devel/files/tincd.in index 15cd2d41de07..428cae52c342 100644 --- a/security/tinc-devel/files/tincd.in +++ b/security/tinc-devel/files/tincd.in @@ -36,6 +36,8 @@ status_cmd="tincd_status" extra_commands="reload" procname=${command:-tincd} ldconfig_command="/sbin/ldconfig" +cfg=$(shift 1; echo "$@") +tincd_cfg=${cfg:=${tincd_cfg}} tincd_start() {