#!/bin/sh # /raid/02d/sa/rem/ONCE/openGLpatch.sh # # execute OpenGL patches on 700 series ACE installs # john 99dec21 # # note: patch PHSS_19263 does NOT require a reboot # will need to load PHSS_19257 first, reboot required # export HOST=`/usr/bin/hostname` export LOG="/raid/02d/sa/rem/L/$HOST.`/usr/bin/date +%y%b%d`.openGL" # cat /dev/null > $LOG # clear log if executing same day echo " ==============================" | tee -a $LOG if [ ! -f /var/adm/sw/patch/PHSS_19257 ] then echo "patching $x ...please wait" swinstall -x autoreboot=true -x match_target=true \ -s /raid/02d/DEPOT/OpenGL/PHSS_19257.depot \ | tee -a $LOG echo "done patching " fi echo " ==============================" | tee -a $LOG echo " completed 1st OpenGL patch - after reboot do 2nd, results found in $LOG " #!/bin/sh # /raid/02d/sa/rem/ONCE/openGLpatch.sh # # execute OpenGL patches on 700 series ACE installs # john 99dec21 # # note: patch PHSS_19263 does NOT require a reboot # will need to load PHSS_19257 first, reboot required # export HOST=`/usr/bin/hostname` export LOG="/raid/02d/sa/rem/L/$HOST.`/usr/bin/date +%y%b%d`.openGL" # echo " ==============================" | tee -a $LOG if [ ! -f /var/adm/sw/patch/PHSS_19263 ] then echo "patching $x ...please wait" swinstall -x autoreboot=true -x match_target=true \ -s /raid/02d/DEPOT/OpenGL/PHSS_19263.depot \ | tee -a $LOG echo "done patching " fi echo " ==============================" | tee -a $LOG echo " completed list, results found in $LOG "