#
# ident "@(#)postremove	1.2 02/12/03 SMI"
#
# Copyright (c) 2001 Sun Microsystems, Inc.
# All rights reserved.
#

	if [ -f /var/opt/SUNWut/kiosk/kiosk.conf ]
        then
		/opt/SUNWut/lib/create_arrays
		/opt/SUNWut/lib/create_files
	fi

        #change the group to utadmin if group is created
        GRP=""
        ADMIN=utadmin

        GRP=`/bin/ls -g /var/opt/SUNWut/kiosk/useapps | awk '{print $3}'`
        if [ $GRP = $ADMIN ]
        then
                chgrp -R utadmin /var/opt/SUNWut/kiosk
        fi

