#!/bin/sh # # r.rbac # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # class action script for "rbac" class files # installed by pkgadd # # Files in "rbac" class: # # /etc/security/{prof_attr,exec_attr,auth_attr} # /etc/user_attr # # Allowable exit codes # # 0 - success # 2 - warning or possible error condition. Installation continues. A warning # message is displayed at the time of completion. # # This script removes the fragment installed for this particular package # instance. But it is not safe to unmerge the entries installed. # PATH=/usr/bin:/usr/sbin export PATH if [ -n "$PKGINST" ] then while read file do rm -f ${file}.d/"$PKGINST" done fi exit 0