home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / nwsclnt / install / postremove < prev    next >
Text File  |  1998-08-19  |  503b  |  34 lines

  1. # @(#)postremove    1.3
  2. # nwsclnt postremove
  3.  
  4. #
  5.  
  6. ADMINUSER=/usr/bin/adminuser
  7. GREP=/usr/bin/grep
  8.  
  9. if [ "$RANDOM" = "$RANDOM" ]
  10. then
  11.     exec /usr/bin/winxksh $0 $*
  12. fi
  13.  
  14. trap "" 2
  15.  
  16. . /var/sadm/pkg/nwsclnt/install/misc_func    # dot in support functions
  17.  
  18. SetLocale
  19.  
  20. # Load strings
  21. . ${LANGDEP_SCRIPTS}/set_strings
  22.  
  23.  
  24. # Remove root privs for the following
  25. $ADMINUSER -r NWClientDisk root >/dev/null 2>&1
  26.  
  27. #
  28. # Remove SCOadmin stuff
  29. #
  30.  
  31. /usr/bin/scoadmin -p NetWare -d /usr/lib/scoadmin/NetWare/NWClientDisk.obj
  32.  
  33. exit 0
  34.