#!/bin/sh
#
# Copyright (c) 1993 - 1996, by Sun Microsystems, Inc.
# All rights reserved.
#
#ident	"@(#)postremove	1.22	96/10/22 SMI"
#
# SUNWpmowu postremove script

# cleanup for speckeysd

killproc() {            # kill the named process(es)
	pid=`/usr/bin/ps -e |
	     /usr/bin/grep $1 |
	     /usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
	[ "$pid" != "" ] && kill $pid
}

if [ "$BASEDIR" = "/" ] ; then
	echo "Stopping processes: speckeysd"
	killproc speckeysd
fi

exit 0
