summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-09-08 23:07:54 +0000
committerErik Troan <ewt@redhat.com>1999-09-08 23:07:54 +0000
commitcecd18552519c1681f776279c2c5009013570553 (patch)
tree55123c36dd7394819412e3056136f624703b900a /anaconda
parent35040727835c45076eec3b227c608bcd0b92f724 (diff)
downloadanaconda-cecd18552519c1681f776279c2c5009013570553.tar.gz
anaconda-cecd18552519c1681f776279c2c5009013570553.tar.xz
anaconda-cecd18552519c1681f776279c2c5009013570553.zip
don't start gui mode unless 32MB of RAM is available
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 4 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index bae9b64cf..8c346877a 100755
--- a/anaconda
+++ b/anaconda
@@ -9,6 +9,7 @@ if (os.path.exists('isys')):
sys.path.append('isys')
import isys
+import iutil
setverPath = None
@@ -98,6 +99,9 @@ import isys
from installclass import CustomInstall
from kickstart import Kickstart
+if (iutil.memInstalled() < 30000):
+ mode = 't'
+
if (mode == 'g' and not os.environ.has_key('DISPLAY')):
import xserver
try: