#!/bin/sh # # Dry Contact UPS Device Driver Remove Script # TMP=/tmp/ups.err RERR="An error was encountered removing the Dry Contact UPS Device Driver Package. The file $TMP contains errors reported by the system." echo "Dry Contact UPS Device Driver Software Package" /etc/conf/bin/idinstall -d ups 2> $TMP if [ $? != 0 ] then message $RERR exit 1 fi /etc/conf/bin/idbuild 2>> $TMP if [ $? != 0 ] then message $RERR exit 1 fi rm -f /usr/include/sys/ups.h rm -f $TMP exit 0