home *** CD-ROM | disk | FTP | other *** search
- #
- # Speaker driver remove script
- #
- TMP=/tmp/speaker.err
- RERR="Errors have been written to the file $TMP."
-
- echo "Removing Speaker Driver Software Package"
-
- /etc/conf/bin/idinstall -d speaker 2>$TMP
- if [ $? != 0 ]
- then
- message "There was an error during package removal. $RERR"
- exit 1
- fi
-
- /etc/conf/bin/idbuild 2>>$TMP
- if [ $? != 0 ]
- then
- message "There was an error during kernel reconfiguration. $RERR"
- exit 1
- fi
-
- rm -f /dev/speaker $TMP /usr/include/sys/spkr.h
-
- exit 0
-