# # Remove GSS-Drivers # LIST1="att470 att455 epmx80" # Printers AUXLIST1="att475 epfx80" LIST2="hp7470 hp7475" # Plotters LIST3="pc7300" # Terminals LIST4="ddmeta" # Metafile echo "Removing drivers" for i in $LIST1 $LIST2 $LIST3 $LIST4 do rm -f /usr/lib/GSS_Drivers/$i done echo "Updating special Office Manager files" for i in $LIST1 $AUXLIST1 do sed -e "/Name=$i/d" /usr/lib/ua/GSS_pri.form >/tmp/GSSpri$$ cat /tmp/GSSpri$$ >/usr/lib/ua/GSS_pri.form done rm /tmp/GSSpri$$ for i in $LIST2 do sed -e "/Name=$i/d" /usr/lib/ua/GSS_plo.form >/tmp/GSSplo$$ cat /tmp/GSSplo$$ >/usr/lib/ua/GSS_plo.form done rm /tmp/GSSplo$$ # # See if we should get rid of the entire GSS-DRIVER installation # FOO=`/bin/ls /usr/lib/GSS_Drivers | wc -w` if [ $FOO = "1" ] # only the Environment left then rm -fr /usr/lib/GSS_Drivers uaupd -r "GSS-Metafile file" Suffixes uaupd -r "GSS-Drivers Setup" Hardware rm -f /usr/bin/GSS.sh rm -f /usr/lib/ua/GSS_pri.form rm -f /usr/lib/ua/GSS_plo.form fi