diff options
author | Mike Fulbright <msf@redhat.com> | 2002-02-08 04:21:12 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-02-08 04:21:12 +0000 |
commit | a5649c996f254ae1e3b2db0586cda8255bc65d77 (patch) | |
tree | 5bb5f7974c6cc050a3bd7751623d8d93270ec3ae /iutil.py | |
parent | ff5728fd1358ded66221f13959c5286d879261b6 (diff) | |
download | anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.gz anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.xz anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.zip |
oh yeah goodbye reconfig
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -257,20 +257,6 @@ def mkdirChain(dir): if (not os.path.isdir(path)): os.mkdir(path, 0755) -# -# get default runlevel - only for use in reconfig mode -# -def getDefaultRunlevel (): - inittab = open ('/etc/inittab', 'r') - lines = inittab.readlines () - inittab.close () - for line in lines: - if len (line) > 3 and line[:3] == "id:": - fields = string.split (line, ':') - return fields[1] - - return None - def makerelname(relpath, filename): if relpath != '': return relpath+'/'+filename |