mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update InstallNET.sh
This commit is contained in:
parent
2a836f5102
commit
83594f17d4
1 changed files with 1 additions and 1 deletions
|
@ -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(){
|
||||||
|
|
Loading…
Reference in a new issue