Sample Upgrade Script (cont.)
case $Temp1 in
SunOS )
#
# Sun operating systems
#
Temp2=`/bin/echo "$Temp2" | /bin/sed -e 's/\..*\$//g'`
if [ "$Temp2" -eq "4" ]
then
MachType=sun4
elif [ "$Temp2" -eq "5" ]
then
MachType=sun5
fi
;;
Previous slide
Next slide
Back to first slide
View graphic version