mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-28 01:14:29 +08:00
Update InstallNET.sh
This commit is contained in:
parent
d729f24701
commit
20b348651e
1 changed files with 4 additions and 2 deletions
|
@ -428,8 +428,10 @@ function lowMem(){
|
|||
}
|
||||
|
||||
function checkSys(){
|
||||
yum install redhat-lsb -y 2>/dev/null
|
||||
apt install lsb-release -y 2>/dev/null
|
||||
apt update -y
|
||||
apt install dnsutils efibootmgr file lsb-release wget xz-utils -y
|
||||
yum update --allowerasing -y
|
||||
yum install dnsutils efibootmgr file redhat-lsb wget xz -y
|
||||
OsLsb=`lsb_release -d | awk '{print$2}'`
|
||||
CurrentOSVer=`cat /etc/os-release | grep -w "VERSION_ID=*" | awk -F '=' '{print $2}' | sed 's/\"//g' | cut -d'.' -f 1`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue