Mount cdrom if available
This commit is contained in:
parent
ad8d87c081
commit
64aac5e063
4
Makefile
4
Makefile
@ -112,11 +112,13 @@ base/bin:
|
||||
mkdir -p $@
|
||||
base/lib:
|
||||
mkdir -p $@
|
||||
base/cdrom:
|
||||
mkdir -p $@
|
||||
fatbase/efi/boot:
|
||||
mkdir -p $@
|
||||
.make:
|
||||
mkdir -p .make
|
||||
dirs: base/dev base/tmp base/proc base/bin base/lib fatbase/efi/boot .make
|
||||
dirs: base/dev base/tmp base/proc base/bin base/lib base/cdrom fatbase/efi/boot .make
|
||||
|
||||
# C Library
|
||||
|
||||
|
3
base/etc/startup.d/01_mountcd.sh
Normal file
3
base/etc/startup.d/01_mountcd.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
if stat -Lq /dev/cdrom0 then mount iso /dev/cdrom0 /cdrom
|
Loading…
Reference in New Issue
Block a user