security/tinc-devel: rc script support network argument

PR: 264345
This commit is contained in:
Dirk Meyer 2022-06-02 19:41:48 +02:00
parent f27ea6b185
commit 3a13fb289e
2 changed files with 3 additions and 1 deletions

View file

@ -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/

View file

@ -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()
{