##
## Make sure LPHOME set
##
if [ "x${LPHOME}" = "x" ]
then
   exit
fi

##
## Execute dcclpunlink script
##
${LPHOME}/bin/dcclpunlink

##
## Remove /etc/profile.d/lpplus.sh
##
if [ -f /etc/profile.d/lpplus.sh ]
then
   rm /etc/profile.d/lpplus.sh
fi

##
## Remove .valid file from ${LPHOME}/bin
##
rm ${LPHOME}/bin/.valid

exit 0
