FreeBSD Bugzilla – Attachment 108302 Details for
Bug 149127
[PATCH] net/beacon: allow compilation on non-i386 architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-files-beacon.in
patch-files-beacon.in (text/plain), 1.39 KB, created by
Craig Leres
on 2010-10-07 04:26:48 UTC
(
hide
)
Description:
patch-files-beacon.in
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2010-10-07 04:26:48 UTC
Size:
1.39 KB
patch
obsolete
>--- beacon.in.orig 2010-03-27 04:26:55.000000000 -0700 >+++ beacon.in 2010-10-06 19:57:16.000000000 -0700 >@@ -8,23 +8,41 @@ > # > # Add the following lines to /etc/rc.conf to enable beacon. > # >-# beacon_enable="YES" >- >-beacon_enable=${beacon_enable-"NO"} >+# beacon_enable="YES" >+# >+# Optional settings: >+# >+# beacon_program (default: %%PREFIX%%/bin/beacon) >+# beacon_config (default: %%PREFIX%%/etc/beacon.conf) >+# beacon_user (default: daemon) >+# beacon_outputdir (default: %%PREFIX%%/www/data-dist/beacon) >+# > > . /etc/rc.subr > > name="beacon" > rcvar=`set_rcvar` > >-command="%%PREFIX%%/bin/${name}" >- >-conffile=%%PREFIX%%/etc/beacon.conf >-if [ -f $conffile ]; then >- piddir=`grep OUTPUTDIR $conffile | awk '{print $3}'` >+load_rc_config $name >+command=${beacon_program:-%%PREFIX%%/bin/${name}} >+config=${beacon_config:-%%PREFIX%%/etc/${name}.conf} >+buser=${beacon_user:-nobody} >+outputdir="${beacon_outputdir:-%%PREFIX%%/www/data-dist/beacon}" >+if [ -f ${config} ]; then >+ toutputdir="`awk '$1 == "OUTPUTDIR" {print $3}' ${config}`" >+ if [ -d "${toutputdir}" ]; then >+ outputdir="${toutputdir}" >+ fi > fi >-pidfile=${piddir}/multicastbeacon.PID >+pidfile="${beacon_pidfile:-${outputdir}/multicastbeacon.PID}" >+command_interpreter="%%PREFIX%%/bin/perl" > >-load_rc_config $name >+start_cmd="beacon_start" >+ >+beacon_start() >+{ >+ echo "Starting ${name}." >+ daemon -u ${buser} -f ${command} >+} > > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 149127
:
108293
|
108294
|
108295
|
108296
|
108297
|
108298
|
108299
|
108300
|
108301
| 108302 |
108303
|
108304
|
108305
|
108306
|
108307
|
108308
|
108309
|
108310