made fs-automount mount /tmp as /boot if the system boots from a tape drive.
This commit is contained in:
parent
30dc60c79a
commit
b1e40cbdb3
@ -1,5 +1,9 @@
|
||||
do
|
||||
local C=0
|
||||
if component.type(computer.getBootAddress()) == "tape_drive" then
|
||||
fs.mount("boot",computer.tmpAddress())
|
||||
print(computer.tmpAddress():sub(1,8).." mounted as boot")
|
||||
end
|
||||
for c in component.list("filesystem") do
|
||||
if c == computer.tmpAddress() then
|
||||
fs.mount("tmp",component.proxy(c))
|
||||
|
Loading…
Reference in New Issue
Block a user