diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-19 19:04:18 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-19 19:04:18 +0000 |
commit | d5d4f3afbca477e372f24df2124fb273a9511921 (patch) | |
tree | 9fbc6f158db8eea322259537c5f6decc41ebc2ca /xf86config.py | |
parent | af3d75dacdc8f8f90e9e32445d4347516d4ed9e2 (diff) | |
download | anaconda-d5d4f3afbca477e372f24df2124fb273a9511921.tar.gz anaconda-d5d4f3afbca477e372f24df2124fb273a9511921.tar.xz anaconda-d5d4f3afbca477e372f24df2124fb273a9511921.zip |
properly record we have skipped X configuration and act appropriately later
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py index 861683347..902bf566d 100644 --- a/xf86config.py +++ b/xf86config.py @@ -639,6 +639,9 @@ class XF86Config: self.monlist = {} self.monids = {} + # if skipx is TRUE user has selected to not configure X + self.skipx = 0 + if isys.fbinfo() != None: (x, y, depth) = isys.fbinfo() self.fbDepth = depth @@ -882,6 +885,10 @@ class XF86Config: config.close () def writeKS (self, f): + if self.skipx: + f.write("skipx\n") + return + xmodes = self.getManualModes() if len(xmodes) == 0: |