void-packages/srcpkgs/zeek/files/bro/run

11 lines
163 B
Bash

#!/bin/sh
BROLOGDIR="/var/log/bro"
[ -r conf ] && . ./conf
[ -d ${BROLOGDIR} ] || mkdir -p ${BROLOGDIR}
cd /var/log/bro
exec bro -i ${INTF:=eth0} ${BROPOLICY}