aboutsummaryrefslogtreecommitdiffstats
path: root/security/tinc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-01-14 13:55:28 +0800
committerdinoex <dinoex@FreeBSD.org>2016-01-14 13:55:28 +0800
commit7f054b779ef7322489d7d96c8a0835b4f34a172c (patch)
tree515a76f387e27cd1916b109384b77d8df5d9da71 /security/tinc
parent4ccd200834e469baf170ec77e7588dc7a0225fb6 (diff)
downloadfreebsd-ports-gnome-7f054b779ef7322489d7d96c8a0835b4f34a172c.tar.gz
freebsd-ports-gnome-7f054b779ef7322489d7d96c8a0835b4f34a172c.tar.zst
freebsd-ports-gnome-7f054b779ef7322489d7d96c8a0835b4f34a172c.zip
- add comments
PR: 206209 Submitted by: Boris Samorodov
Diffstat (limited to 'security/tinc')
-rw-r--r--security/tinc/files/tincd.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/tinc/files/tincd.in b/security/tinc/files/tincd.in
index 602d99f8abde..a3762dbb08c5 100644
--- a/security/tinc/files/tincd.in
+++ b/security/tinc/files/tincd.in
@@ -12,6 +12,13 @@
# /etc/rc.conf.local
# /etc/rc.conf.d/tincd
#
+# tincd_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable tincd.
+# tincd_cfg (str): Set to "" by default.
+# Set it to NETNAMEs to use (ex.: "vpn1 vpn2").
+# tincd_flags (str): Set to "" by default.
+# Set it to flags to use (ex.: "-d 1 --logfile").
+#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
tincd_enable=${tincd_enable:-"NO"}
@@ -55,7 +62,6 @@ tincd_stop()
echo "Stopping tincd"
$command -k
else
- echo "Stopping tincd for: "
for cfg in $tincd_cfg
do
echo "Stopping tincd for: ${cfg}"