home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / nics / install / request < prev   
Text File  |  1998-08-19  |  1KB  |  38 lines

  1. #ident    "@(#)request    15.2"
  2.  
  3. # NOTE: similar to the postinstall script, the request script is also 
  4. # run 3 times:  
  5. # ISL case pre-reboot
  6. # ISL case post-reboot
  7. # normal pkgadd senario
  8. # While we do not currently have any need to distinguish these, we may
  9. # need to in the future. 
  10.  
  11. # save all of stderr - just in case
  12. exec 2>/tmp/nics.request.err
  13.  
  14. # turn on debugging infor - just in case
  15. set -x
  16.  
  17. # pull in response file name
  18. RESP_FILE=$1
  19.  
  20. # set default classes list
  21. CLASSES=none
  22.  
  23. # set classes variable to none which will install everything
  24. echo "CLASSES=\"$CLASSES\"" > $RESP_FILE
  25.  
  26. # if this is an upgrade install, create a flag file for postinstall to see
  27. # the postinstall script used to check for the existence of this file
  28. # and source in all .bcfg files, copy the existing drivers to 
  29. # /etc/inst/nics/preserve and idinstall -d the driver currently in use.  
  30. # this is no longer necessary for Gemini.
  31. ##/usr/sbin/pkginst/chkpkgrel
  32. ##retval=$?
  33. ##case "$retval" in
  34. ##4|6)    touch /tmp/nics.upg.flag
  35. ##    ;;
  36. ##esac
  37.  
  38.