summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-02-08 04:21:12 +0000
committerMike Fulbright <msf@redhat.com>2002-02-08 04:21:12 +0000
commita5649c996f254ae1e3b2db0586cda8255bc65d77 (patch)
tree5bb5f7974c6cc050a3bd7751623d8d93270ec3ae /anaconda
parentff5728fd1358ded66221f13959c5286d879261b6 (diff)
downloadanaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.gz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.xz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.zip
oh yeah goodbye reconfig
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda34
1 files changed, 3 insertions, 31 deletions
diff --git a/anaconda b/anaconda
index 49fbc78fb..cf016983f 100755
--- a/anaconda
+++ b/anaconda
@@ -88,7 +88,7 @@ else:
try:
(args, extra) = isys.getopt(theargs, 'GTRxtdr:fm:',
- [ 'text', 'reconfig', 'xmode', 'test', 'debug', 'nofallback',
+ [ 'text', 'xmode', 'test', 'debug', 'nofallback',
'method=', 'rootpath=', 'pcic=', "overhead=",
'testpath=', 'mountfs', 'traceonly', 'kickstart=',
'lang=', 'keymap=', 'module=', 'class=',
@@ -125,7 +125,7 @@ overhead = 0 # kilobytes of memory used already
runres = '800x600' # resolution to run the GUI install in
nofbmode = 0 # don't use framebuffer X, no matter what
instClass = None # the install class to use
-progmode = 'install' # 'reconfig', 'rescue', or 'install'
+progmode = 'install' # 'rescue', or 'install'
method = None # URL representation of install method
logFile = None # may be a file object or a file name
@@ -189,13 +189,6 @@ for n in args:
rescue_nomount = 1
elif (str == '--overhead'):
overhead = int(arg)
- elif (str == '-R' or str == '--reconfig'):
- progmode = 'reconfig'
- rootPath = '/'
- logFile = "/var/log/reconfig.log"
- flags.setupFilesystems = 0
- flags.reconfig = 1
- customClass = 'reconfig'
elif (str == '--rescue'):
progmode = 'rescue'
elif (str == "--autostep"):
@@ -221,7 +214,7 @@ for n in args:
logFile = "/tmp/anaconda-s390.log"
#
-# must specify install, rescue or reconfig mode
+# must specify install, rescue mode
#
if (progmode == 'rescue'):
@@ -240,8 +233,6 @@ if (progmode == 'rescue'):
# shouldn't get back here
sys.exit(1)
-elif (progmode == 'reconfig'):
- pass
else:
if (not method):
sys.stderr.write('no install method specified\n')
@@ -403,14 +394,6 @@ if 1:
else:
sys.stdout.write(_("Skipping mouse probe.\n"))
-# determine which mode reconfig should use
-if (progmode == 'reconfig'):
- if (iutil.getDefaultRunlevel() == '5' and
- os.access("/etc/X11/XF86Config", os.R_OK)):
- display_mode = 'g'
- else:
- display_mode = 't'
-
if (display_mode != 't' and method and
method.startswith('ftp://') or
method.startswith('http://') or
@@ -475,17 +458,6 @@ if display_mode == 'g':
card = videohw.primaryCard()
xcfg = xf86config.XF86Config(card, monitorhw, mousehw, runres)
-elif progmode != 'reconfig':
- import xf86config
-
- # only probe X related stuff if we're doing an install
- if iutil.getArch() == "s390":
- # XXX why doesn't videohw.primaryCard() dtrt on s390?
- card = videocard.VideoCard()
- else:
- card = videohw.primaryCard()
- xcfg = xf86config.XF86Config(card, monitorhw, mousehw, runres)
-
import configFileData
configFile = configFileData.configFileData()
configFileData = configFile.getConfigData()