diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 2004-02-23 04:42:13 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 2004-02-23 04:42:13 +0000 |
commit | 60aab665670e50cb18bba45ee25f2ed091759741 (patch) | |
tree | 924c1af9c149083e0626ceb279b67ad6ca69e630 /net/cflowd/files/cflowd.sh | |
parent | ab7ba5abd2606b7e7d23d2359bb0a26004d0eec0 (diff) | |
download | freebsd-ports-60aab665670e50cb18bba45ee25f2ed091759741.zip |
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus
Diffstat (limited to 'net/cflowd/files/cflowd.sh')
-rw-r--r-- | net/cflowd/files/cflowd.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net/cflowd/files/cflowd.sh b/net/cflowd/files/cflowd.sh deleted file mode 100644 index e063398026d4..000000000000 --- a/net/cflowd/files/cflowd.sh +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/sh - -# rc script for cflowd -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -'start') - [ -x $PREFIX/sbin/cflowdmux -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowdmux $PREFIX/etc/cflowd.conf \ - && echo -n " cflowdmux" - sleep 2 - [ -x $PREFIX/sbin/cflowd -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowd $PREFIX/etc/cflowd.conf \ - && echo -n " cflowd" - sleep 2 - [ -x $PREFIX/sbin/cfdcollect -a -s $PREFIX/etc/cfdcollect.conf ] \ - && $PREFIX/sbin/cfdcollect $PREFIX/etc/cfdcollect.conf \ - && echo -n " cfdcollect" - ;; - -'stop') - for i in cfdcollect cflowd cflowdmux - do - sleep 2 - killall -15 $i && echo "graceful shutdown of $i" - done - ;; -esac - -exit 0 |