diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-03 07:46:48 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-03 07:46:48 +0000 |
| commit | 8a1df176ce5a4d220752e4c4165992268e5922d2 (patch) | |
| tree | 0c13ef0513834aab6e36346535cacd5e3b4890c6 /testing/fprobe/fprobe.initd | |
| parent | ec38a1cb23de8be3e23f0d9ae51030563da6ca63 (diff) | |
| download | aports-8a1df176ce5a4d220752e4c4165992268e5922d2.tar.bz2 aports-8a1df176ce5a4d220752e4c4165992268e5922d2.tar.xz | |
main/fprobe: move from testing
Diffstat (limited to 'testing/fprobe/fprobe.initd')
| -rw-r--r-- | testing/fprobe/fprobe.initd | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testing/fprobe/fprobe.initd b/testing/fprobe/fprobe.initd deleted file mode 100644 index a14f1e6bcc..0000000000 --- a/testing/fprobe/fprobe.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net - after firewall -} - -BIN=/usr/sbin/fprobe -PIDFILE_EXTRA="" -[ -n "$PIDFILE_ID" ] && PIDFILE_EXTRA="[$PIDFILE_ID]" -PIDFILE="/var/run/fprobe$PIDFILE_EXTRA.pid" - -start() { - ebegin "Starting fprobe" - local OPTS="" - [ "${PROMISC}" == "yes" ] || OPTS="${OPTS} -p" - [ -n "${FILTER}" ] && OPTS="${OPTS} -f '${FILTER}'" - for optname in i:IFACE s:TIMER_EXPIRED g:TIME_FRAGMENTED d:TIMER_IDLE \ - e:TIMER_ACTIVE n:FLOW_VER a:LOCALIP x:SNMP_IFACE b:MEMBULK \ - m:MEMLIMIT q:PENDING B:KERNBUF r:RTPRIO t:DELAY S:SNAPLEN \ - c:CHROOT u:USER v:LOGLEVEL ; do - opt="${optname/:*}" optvar="${optname/*:}" - eval optvalue="\$$optvar" - [ -n "$optvalue" ] && OPTS="${OPTS} -${opt} ${optvalue}" - done - OPTS="${OPTS} -l 1:${PIDFILE_ID} ${COLLECTORS}" - start-stop-daemon --start --exec $BIN \ - --pidfile ${PIDFILE} \ - -- ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping fprobe" - start-stop-daemon --stop --quiet --exec $BIN \ - --pidfile ${PIDFILE} - eend $? -} |
