mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
tinc: fix regression bring by commit fd61f2d
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tinc
|
||||
PKG_VERSION:=1.1pre18
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://tinc-vpn.org/packages
|
||||
|
||||
@@ -249,7 +249,10 @@ start_instance() {
|
||||
append_params "$s" logfile debug
|
||||
|
||||
SERVICE_PID_FILE="/var/run/tinc.$s.pid"
|
||||
service_start $BIN -c "$TMP_TINC/$s" $ARGS --pidfile="$SERVICE_PID_FILE"
|
||||
# consequences of option -n "%s"
|
||||
# tinc will display this warning Both netname and configuration directory given, using the latter...
|
||||
# BUT the exported variable NETNAME will be set with the right value when run tinc-up script
|
||||
service_start $BIN -c "$TMP_TINC/$s" -n "$s" $ARGS --pidfile="$SERVICE_PID_FILE"
|
||||
}
|
||||
|
||||
stop_instance() {
|
||||
|
||||
Reference in New Issue
Block a user