[Bro] OpenBSD bro.rc unexpected "("

Jeff copaseticsituation at gmail.com
Sun Oct 23 17:23:09 PDT 2005


Hi,

I've had the fun of getting Bro installed on OpenBSD and now have a problem
with the bro.rc file. Here is the error from the bro.rc:

bash-3.00# /usr/local/bro/etc/bro.rc --start
/usr/local/bro/etc/bro.rc[476]: syntax error: `(' unexpected
bash-3.00#

Here are the corresponding lines form the bro.rc:


468
469 return ${_start_res}
470 fi
471
472 return 0
473 }
474
475
476 stop() {
477 # Check to see if bro is running
478 local _pid
479 local _bro_is_running
480 local _status_result
481
482 status 2>/dev/null >/dev/null
483 _status_result=$?
484
485 if [ "${_status_result}" = '0' ]; then
486 # try and stop it


Has anyone else seen this error?

Thanks,

Jeff

When working on the install, we had to copy ip_ether.h to if_ether.h and
then use the gmake 3.8 to get it to work. I'm running OpenBSD 3.8 from the
snapshots. Thanks to all who helped!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20051023/c1dd584a/attachment.html 


More information about the Bro mailing list