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
This commit is contained in:
Bruce M Simpson 2006-11-02 13:08:09 +00:00
parent 5cb7c7d803
commit 4af0efe66d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176180

View file

@ -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 &