summaryrefslogtreecommitdiffstats
path: root/iutil.py
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 /iutil.py
parentff5728fd1358ded66221f13959c5286d879261b6 (diff)
downloadanaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.gz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.xz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.zip
oh yeah goodbye reconfig
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/iutil.py b/iutil.py
index 17c36c988..77680cb28 100644
--- a/iutil.py
+++ b/iutil.py
@@ -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