#!/bin/bash
BIOS_Ver=$(dmidecode -t 0 |awk '/Version/{print $NF}' |sed 's/\s*//g')
platform=$(lscpu |grep -i "Model name:     "|awk '{print $5}'|cut -c 4)

if [[ $platform == '4' ]];then
	./AsusLinuxBiosUpdater -i K14PG-D24-ASUS-1002-PUS0008-25071801.CAP
fi
