diff --git a/modules/util/fs-automount.lua b/modules/util/fs-automount.lua index 28be868..2af3640 100644 --- a/modules/util/fs-automount.lua +++ b/modules/util/fs-automount.lua @@ -17,9 +17,11 @@ do print(c:sub(1,8).." mounted as fs"..string.format("%02d",C)) C=C+1 end - if component.type(computer.getBootAddress()) == "tape_drive" then + if component.type(computer.getBootAddress()) ~= "filesystem" then fs.mount("boot",component.proxy(computer.tmpAddress())) print(computer.tmpAddress():sub(1,8).." mounted as boot") + end + if component.type(computer.getBootAddress()) == "tape_drive" then if tape then tape.rewind() local pt = tape.records()