Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/fprobe/files: init.d-fprobe
Date: Thu, 26 Jun 2008 20:41:30
Message-Id: E1KByHV-00014g-N8@stork.gentoo.org
1 robbat2 08/06/26 20:41:25
2
3 Modified: init.d-fprobe
4 Log:
5 The init script was always running in promisc mode UNLESS you tried to not run promisc.
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64)
7
8 Revision Changes Path
9 1.2 net-analyzer/fprobe/files/init.d-fprobe
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/files/init.d-fprobe?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/files/init.d-fprobe?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/files/init.d-fprobe?r1=1.1&r2=1.2
14
15 Index: init.d-fprobe
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fprobe/files/init.d-fprobe,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -p -w -b -B -u -u -r1.1 -r1.2
21 --- init.d-fprobe 17 Mar 2008 08:41:12 -0000 1.1
22 +++ init.d-fprobe 26 Jun 2008 20:41:25 -0000 1.2
23 @@ -14,7 +14,7 @@ PIDFILE="/var/run/fprobe$PIDFILE_EXTRA.p
24 start() {
25 ebegin "Starting fprobe"
26 local OPTS=""
27 - [ "${PROMISC}" == "yes" ] && OPTS="${OPTS} -p"
28 + [ "${PROMISC}" == "yes" ] || OPTS="${OPTS} -p"
29 [ -n "${FILTER}" ] && OPTS="${OPTS} -f '${FILTER}'"
30 for optname in i:IFACE s:TIMER_EXPIRED g:TIME_FRAGMENTED d:TIMER_IDLE \
31 e:TIMER_ACTIVE n:FLOW_VER a:LOCALIP x:SNMP_IFACE b:MEMBULK \
32
33
34
35 --
36 gentoo-commits@l.g.o mailing list