summaryrefslogtreecommitdiff
path: root/tools/frr.in
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-03 20:13:24 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-11-03 20:15:10 +0200
commitefe9529821f0a51b35486b86a95fe1145481e29b (patch)
tree82b9c2e30d7de972217d8cef8b46d9a0b23ec1ac /tools/frr.in
parentd7cde18c63c4eef83e12f562aa025cf1dbeaee05 (diff)
tools: Honor sysdir, confdir, bindir for frr-reload.py from "frr" wrapper
Without this, those variables are not passed to frr-reload.py and uses default values. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tools/frr.in')
-rwxr-xr-xtools/frr.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frr.in b/tools/frr.in
index e9f1122834..1ffdade54f 100755
--- a/tools/frr.in
+++ b/tools/frr.in
@@ -582,7 +582,7 @@ case "$1" in
NEW_CONFIG_FILE="${2:-$C_PATH/frr.conf}"
[ ! -r $NEW_CONFIG_FILE ] && echo "Unable to read new configuration file $NEW_CONFIG_FILE" && exit 1
echo "Applying only incremental changes to running configuration from frr.conf"
- "$RELOAD_SCRIPT" --reload $C_PATH/frr.conf
+ "$RELOAD_SCRIPT" --reload --bindir "$D_PATH" --confdir "$C_PATH" --rundir "$V_PATH" "$C_PATH/frr.conf"
exit $?
;;