Update InstallNET.sh

This commit is contained in:
Molly Lau 2022-11-13 19:30:54 +09:00 committed by GitHub
parent 2a836f5102
commit 83594f17d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ function getGrub(){
function lowMem(){ function lowMem(){
mem=`grep "^MemTotal:" /proc/meminfo 2>/dev/null |grep -o "[0-9]*"` mem=`grep "^MemTotal:" /proc/meminfo 2>/dev/null |grep -o "[0-9]*"`
[ -n "$mem" ] || return 0 [ -n "$mem" ] || return 0
[ "$mem" -le "130166" ] && return 1 || return 0 [ "$mem" -le "65083" ] && return 1 || return 0
} }
function DebianModifiedPreseed(){ function DebianModifiedPreseed(){