echo -e "\n您的系统为:\033[31m$OS_VERSION\033[0m\n正在识别版本号..."
if [ -f /etc/os-release ]
then
banbenhao=`cat /etc/os-release |awk -F'[="]+' '/^VERSION_ID=/ {print $2}'`
echo -e "\n您的版本号为:\033[31m$banbenhao\033[0m\n"
fi
if [ -f /etc/lsb-release ]
then
banbenhao=`cat /etc/lsb-release |awk -F'[=]+' '/^DISTRIB_RELEASE/{print $2}'`
echo -e "\n您的版本号为:\033[31m$banbenhao\033[0m\n"
fi
if [ $banbenhao!=14.04 ]
then
Ubuntu16.04 && return
fi
if [ $banbenhao=14.04 ]
then
Ubuntu14.04 && return
fi
}
COO='
=========================================================================
Monero一键配置脚本
本脚本暂时仅支持Ubuntu 14.04+ /Debian 7+ /CentOS6+
Powered by 银 河
All Rights Reserved