home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / nethack-3.1 / sys / unix / snd86unx.shr / Remove < prev    next >
Encoding:
Text File  |  1993-01-26  |  475 b   |  26 lines

  1. #
  2. # Speaker driver remove script
  3. #
  4. TMP=/tmp/speaker.err
  5. RERR="Errors have been written to the file $TMP."
  6.  
  7. echo "Removing Speaker Driver Software Package"
  8.  
  9. /etc/conf/bin/idinstall -d speaker 2>$TMP
  10. if [ $? != 0 ]
  11. then
  12.     message "There was an error during package removal. $RERR"
  13.     exit 1
  14. fi
  15.  
  16. /etc/conf/bin/idbuild 2>>$TMP
  17. if [ $? != 0 ]
  18. then
  19.     message "There was an error during kernel reconfiguration. $RERR"
  20.     exit 1
  21. fi
  22.  
  23. rm -f /dev/speaker $TMP /usr/include/sys/spkr.h
  24.  
  25. exit 0
  26.