adjust lower to handle 3G being semi-ok

This commit is contained in:
Squidly271 2023-02-16 12:16:49 -05:00
parent 89aa9cf233
commit a42e656820
3 changed files with 3 additions and 3 deletions

View File

@ -115,12 +115,12 @@ if ( is_file("/var/run/dockerd.pid") && is_dir("/proc/".@file_get_contents("/var
if ( is_file($caPaths['docker_cfg']) )
getAllInfo(true,false);
// Check memory to see if CA's minimums are met (4G same as base OS)
// Check memory to see if CA's minimums are met (4G same as base OS) - Test is actually for 2.5G though
$memRaw = trim(str_replace("MemTotal:","",exec("cat /proc/meminfo | grep MemTotal:")));
$memoryInstalled = explode(" ",$memRaw);
$CArequirementsNOTmet = $memoryInstalled[0] < 3000000;
$CArequirementsNOTmet = $memoryInstalled[0] < 2500000;
function tr($string,$ret=false) {

View File

@ -1,4 +1,4 @@
e4239f89a71057e87044f512e6d4ded7 ./Apps.page
fe201eecae8fbf79fc3cb7cea172c99f ./Apps.page
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg