2018-12-18 06:12:17 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if not stat -Lq /dev/cdrom0 then exit 0
|
|
|
|
|
|
|
|
echo -n "Mounting CD..." > /dev/pex/splash
|
|
|
|
|
2021-10-07 14:22:10 +03:00
|
|
|
insmod /mod/iso9660.ko
|
2018-12-18 06:12:17 +03:00
|
|
|
mount iso /dev/cdrom0 /cdrom
|
2021-10-07 14:22:10 +03:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|