mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-15 01:07:02 -05:00
I'm stupid sometimes
This commit is contained in:
parent
00d4472f91
commit
a05e19b545
@ -2,7 +2,7 @@ local fsmanager = {}
|
|||||||
fsmanager.filesystems = {}
|
fsmanager.filesystems = {}
|
||||||
local run = true
|
local run = true
|
||||||
|
|
||||||
local function fsmanager.mount(addr)
|
function fsmanager.mount(addr)
|
||||||
dest = "/" .. (component.invoke(addr,"getLabel") or "mnt/"..addr:sub(1,3))
|
dest = "/" .. (component.invoke(addr,"getLabel") or "mnt/"..addr:sub(1,3))
|
||||||
syslog("Mounting "..addr.." to "..dest)
|
syslog("Mounting "..addr.." to "..dest)
|
||||||
fs.makeDirectory(dest)
|
fs.makeDirectory(dest)
|
||||||
|
Loading…
Reference in New Issue
Block a user