base: Load iso9660 and add a desktop icon when mounting CD at boot
This commit is contained in:
parent
8d9c13c047
commit
46c59e8786
@ -4,4 +4,11 @@ if not stat -Lq /dev/cdrom0 then exit 0
|
||||
|
||||
echo -n "Mounting CD..." > /dev/pex/splash
|
||||
|
||||
insmod /mod/iso9660.ko
|
||||
mount iso /dev/cdrom0 /cdrom
|
||||
|
||||
# Does it look like it might be ours?
|
||||
if not stat -Lq /cdrom/bootcat then exit 0
|
||||
|
||||
echo -e "icon=cd\nrun=cd /cdrom ; exec file-browser\ntitle=CD-ROM" > /home/local/Desktop/5_cdrom.launcher
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user