aboutsummaryrefslogtreecommitdiff
path: root/net/frr7
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2020-10-05 07:48:17 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2020-10-05 07:48:17 +0000
commit198ba0eb085609a533f66b4416fade42a72776d1 (patch)
tree52bf1a8dd7c01ed37d94f46ad6f0150fe93e855e /net/frr7
parent554abc9392a6893785155d148dabe8d3bbda2faa (diff)
downloadports-198ba0eb085609a533f66b4416fade42a72776d1.tar.gz
ports-198ba0eb085609a533f66b4416fade42a72776d1.zip
Harden RC script by adding double quotes.
While here, document usage of frr_vtysh_boot. PR: 250099 Submitted by: eugen
Notes
Notes: svn path=/head/; revision=551478
Diffstat (limited to 'net/frr7')
-rw-r--r--net/frr7/Makefile2
-rw-r--r--net/frr7/files/frr.in10
2 files changed, 8 insertions, 4 deletions
diff --git a/net/frr7/Makefile b/net/frr7/Makefile
index 6807828c542b..abcef0686188 100644
--- a/net/frr7/Makefile
+++ b/net/frr7/Makefile
@@ -3,7 +3,7 @@
PORTNAME= frr
PORTVERSION= 7.4
DISTVERSIONPREFIX= frr-
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
.if defined(PYTHONTOOLS)
PKGNAMESUFFIX= 7-pythontools
diff --git a/net/frr7/files/frr.in b/net/frr7/files/frr.in
index 842b60eaed53..1a76d831f945 100644
--- a/net/frr7/files/frr.in
+++ b/net/frr7/files/frr.in
@@ -11,9 +11,13 @@
# frr_enable="YES"
#
# You may also wish to use the following variables to fine-tune startup:
-# frr_flags=""
-# frr_daemons="zebra babeld bfdd bgpd eigrpd fabricd isisd ospfd ospf6d ripd ripngd staticd"
+# Enable Integrated configuration mode (using the single configuration file
+# frr.conf in place of one file for each dameon)
# frr_vtysh_boot="YES"
+# Selecting limited set of daemons to run
+# frr_daemons="zebra babeld bfdd bgpd eigrpd fabricd isisd ospfd ospf6d ripd ripngd staticd"
+# Global tuning
+# frr_flags=""
# Per daemon tuning may be done with daemon_name_flags
# zebra_flags="-P 0"
# bgpd_flags="-nrP 0" and so on
@@ -109,7 +113,7 @@ do_cmd()
continue
fi
fi
- if [ ${frr_cmd} = "stop" ] && [ -z $(check_process ${command}) ]; then
+ if [ ${frr_cmd} = "stop" ] && [ -z "$(check_process ${command})" ]; then
continue
fi
eval flags=\$\{${daemon}_flags:-\"${frr_flags}\"\}