summaryrefslogtreecommitdiff
path: root/net/xorp
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:08:09 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:08:09 +0000
commit4af0efe66d47406da4314f9e2cf5bdd1c516d19c (patch)
tree26f6190504b350d28a26626a359ce1b6a3dc91e5 /net/xorp
parentChase MASTER_SITE udpated. (diff)
Fix for xorp rc.d script. This is not the correct fix -- a more elegant
answer to the problem of wrapping the rtrmgr is needed. This only fixes the issues described by the submitter and is not complete. Submitted by: Claus Endres PR: ports/105055
Notes
Notes: svn path=/head/; revision=176180
Diffstat (limited to 'net/xorp')
-rw-r--r--net/xorp/files/xorp.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/xorp/files/xorp.in b/net/xorp/files/xorp.in
index cbf10a21667e..abf1e0cddc46 100644
--- a/net/xorp/files/xorp.in
+++ b/net/xorp/files/xorp.in
@@ -28,9 +28,10 @@ load_rc_config $name
: ${xorp_rtrmgr_pidfile="/var/run/xorp_rtrmgr.pid"}
required_files=${xorp_config_boot}
-command=%%PREFIX%%/rtrmgr/xorp_rtrmgr
+command=%%PREFIX%%/bin/xorp_rtrmgr
command_args="-b ${xorp_config_boot}"
pidfile=${xorp_rtrmgr_pidfile}
sig_stop=INT
-run_rc_command "$1"
+# XXX: This is not the correct fix.
+run_rc_command "$1" 2>&1 &