mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-08 08:20:39 +08:00
Update InstallNET.sh
This commit is contained in:
parent
cae8ed4d01
commit
032aea6da3
1 changed files with 2 additions and 2 deletions
|
|
@ -1033,7 +1033,7 @@ function checkMem() {
|
|||
# They never optimize or improve it, just tell users they need to pay more to expand their hardware performance and adjust to the endless demand of them. it's not a correct decision.
|
||||
[[ "$setMemCheck" == '1' ]] && {
|
||||
[[ "$1" == 'fedora' || "$1" == 'rockylinux' || "$1" == 'almalinux' || "$1" == 'centos' ]] && {
|
||||
[[ "$TotalMem" -le "492" ]] && {
|
||||
[[ "$TotalMem" -le "462" ]] && {
|
||||
echo -ne "\n[${red}Error${plain}] Minimum system memory requirement is 512 MB!\n"
|
||||
exit 1
|
||||
}
|
||||
|
|
@ -1069,7 +1069,7 @@ function checkMem() {
|
|||
}
|
||||
[[ "$1" == 'alpinelinux' || "$3" == 'Ubuntu' ]] && {
|
||||
if [[ "$3" == 'Ubuntu' ]]; then
|
||||
[[ "$TotalMem" -le "492" ]] && {
|
||||
[[ "$TotalMem" -le "462" ]] && {
|
||||
echo -ne "\n[${red}Error${plain}] Minimum system memory requirement is 512 MB!\n"
|
||||
exit 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue