mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
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:
parent
5cb7c7d803
commit
4af0efe66d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176180
1 changed files with 3 additions and 2 deletions
|
@ -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 &
|
||||
|
|
Loading…
Add table
Reference in a new issue