preremove revision 7c478bd95313f5f23a4c958a745db2134aa03244
#!/bin/sh
#
# Copyright (C) 1999-2001, 2003 by Darren Reed.
#
# See the IPFILTER.LICENCE file for details on licencing.
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "%Z%%M% %I% %E% SMI"
if [ ${BASEDIR} = "/" ]
then
pid=`ps -e | awk ' { if ($4 == "ipmon") { print $1; } } ' -`
while [ "$pid" != "" ] ; do
kill $pid
pid=`ps -e | awk ' { if ($4 == "ipmon") { print $1; } } ' -`
done
fi
exit 0