#!/bin/sh -x # Determine system type SYS=`uname` if test "$SYS" = "Linux"; then echo 'Install Linux system\n' RELNAME=LNX-Rel-$1 elif test "$SYS" = "SunOS"; then uname -a | grep -i sparc if [ $? -eq 0 ];then echo 'Install Sparc SunOS system\n' RELNAME=SUN-Rel-$1 else SYS="INTL" echo 'Install Intel SunOS system\n' RELNAME=INTL-Rel-$1 fi else echo "Unknown system to install MSF on.\n" exit fi echo "RELNAME is: $RELNAME"
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1472 | Yariv Sheizaf | scripts dir |