|
|
|
@ -12,7 +12,7 @@ startTime=`date +%s` |
|
|
|
|
|
|
|
|
|
_os=`uname` |
|
|
|
|
echo "use system: ${_os}" |
|
|
|
|
if [ "${_os}" == "Darwin" ] ; then |
|
|
|
|
if [ "${_os}" == "Darwin" ]; then |
|
|
|
|
OSNAME='MAC' |
|
|
|
|
elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then |
|
|
|
|
OSNAME='CentOS' |
|
|
|
|