diff options
author | Mike Fulbright <msf@redhat.com> | 2003-01-09 22:13:51 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-01-09 22:13:51 +0000 |
commit | 37d906ec3e851c53a98a511787382f73f0afbfc0 (patch) | |
tree | a1f5aa21013fbbaef7eb80142a37019bf953b614 /rescue.py | |
parent | 616dec1f41d4c60041b5eabcbe6e9d702e86eb6b (diff) | |
download | anaconda-37d906ec3e851c53a98a511787382f73f0afbfc0.tar.gz anaconda-37d906ec3e851c53a98a511787382f73f0afbfc0.tar.xz anaconda-37d906ec3e851c53a98a511787382f73f0afbfc0.zip |
load st.o if we find tape drives
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +import kudzu import upgrade from snack import * from constants_text import * @@ -147,6 +148,12 @@ def runRescue(instPath, mountroot, id): screen.finish() + # load st.o if they have any tape drives + tapes = kudzu.probe(kudzu.CLASS_TAPE, kudzu.BUS_SCSI, kudzu.PROBE_ALL) + if len(tapes) > 0: + log("Loading st.o because tape drives detected") + os.system("/bin/modprobe st.o") + if (not mountroot): print print _("When finished please exit from the shell and your " |