#!/bin/sh
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)postremove.tmpl	1.2	04/03/12 SMI"
#

#
# Copyright (c) 2000 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident	"@(#)proc.inetd_usrpostrem	1.1	00/12/08 SMI"
#

# proc.inetd_usrpostrem -- common code for inetd.conf entry removal
#
# inetd_slay	: call after package has been removed

inetd_slay() {
		for i in "$@"; do
			pkill -9 -x -u 0 "$i"
		done
	return 0
}

# if any of SLVM daemons are running since we last checked then terminate
# them now

inetd_slay rpc.metad rpc.metamhd rpc.metamedd rpc.mdcommd
