diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-08 23:07:54 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-08 23:07:54 +0000 |
commit | cecd18552519c1681f776279c2c5009013570553 (patch) | |
tree | 55123c36dd7394819412e3056136f624703b900a /anaconda | |
parent | 35040727835c45076eec3b227c608bcd0b92f724 (diff) | |
download | anaconda-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-x | anaconda | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |