mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- fix startup order conflict
- allow tinc to start early, so "static_routes" in /etc/rc.conf works. PR: 202371
This commit is contained in:
parent
02c3ebc48e
commit
1664d702a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406095
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= tinc
|
||||
PORTVERSION= 1.0.26
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.tinc-vpn.org/packages/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: tincd
|
||||
# REQUIRE: ipfilter FILESYSTEMS sysctl netif ldconfig
|
||||
# REQUIRE: ipfilter FILESYSTEMS sysctl netif
|
||||
# BEFORE: SERVERS routing
|
||||
# KEYWORD: nojail
|
||||
#
|
||||
@ -33,11 +33,13 @@ stop_cmd="tincd_stop"
|
||||
reload_cmd="tincd_reload"
|
||||
extra_commands="reload"
|
||||
procname=${command:-tincd}
|
||||
ldconfig_command="/sbin/ldconfig"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
tincd_start()
|
||||
{
|
||||
${ldconfig_command} -elf -m %%LOCALBASE%%/lib
|
||||
if test -z "${tincd_cfg}"
|
||||
then
|
||||
echo "Starting tincd"
|
||||
|
Loading…
Reference in New Issue
Block a user