git: 7034792fe9aa - 2026Q1 - net/v2ray: Fix incorrect order of rc file stances
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Mar 2026 08:26:24 UTC
The branch 2026Q1 has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7034792fe9aa5afcfd6055ac0dc7e31f7243c2c2
commit 7034792fe9aa5afcfd6055ac0dc7e31f7243c2c2
Author: Shamaz Mazum <shamaz.mazum@gmail.com>
AuthorDate: 2026-03-14 06:44:02 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2026-03-14 08:25:12 +0000
net/v2ray: Fix incorrect order of rc file stances
PR: 293795
Reported by: Shamaz Mazum <shamaz.mazum@gmail.com>
Approved by: db@, yuri@ (Mentors, implicit)
MFH: 2026Q1
(cherry picked from commit 3265e8870fd5e55039125fcb1ba3d505701404eb)
---
net/v2ray/files/v2ray.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/v2ray/files/v2ray.in b/net/v2ray/files/v2ray.in
index c39895054532..3778a4846d06 100644
--- a/net/v2ray/files/v2ray.in
+++ b/net/v2ray/files/v2ray.in
@@ -19,6 +19,7 @@
name="v2ray"
rcvar="${name}_enable"
+load_rc_config ${name}
: ${v2ray_enable="NO"}
: ${v2ray_config="%%PREFIX%%/etc/$name/config.json"}
@@ -43,5 +44,4 @@ v2ray_startprecmd() {
chown -R ${v2ray_user}:${v2ray_group} "${v2ray_logdir}"
}
-load_rc_config "$name"
run_rc_command "$1"