#! /bin/bash

cpuinfo=`cat /proc/cpuinfo | grep -i kirin.*9006c`
versionId=`cat /etc/os-release | grep KYLIN_RELEASE_ID |grep  2203`

version2303Id=`cat /etc/os-release | grep KYLIN_RELEASE_ID |grep  2303`

if [[ $cpuinfo != ""  ]]
then
	if [[  $versionId != "" ]]
        then
		echo "Kirin9A0-2203"
        elif [[  $version2303Id != "" ]]
        then
                echo "Kirin9A0-2303"
        else
                echo "Kirin9A0"
        fi
fi
