index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2009-11-17 02:57:51 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2009-11-17 02:57:51 -0300 |
commit | 38d828f7493b5facf3123075c88397278dd1d5cb (patch) | |
tree | 17d5f52e656ef518b410ca8fecaeddca8ca6303a /archiso | |
parent | ed97ef03a4108018c95f51a202159139e1bda956 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 8 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index cf13e3d..336a014 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -124,9 +124,11 @@ run_hook () # Bind our bootmnt dir into the live system _mnt_bind /bootmnt /bootmnt - if [ -d /proc/sys/dev/cdrom ]; then - echo 0 > /proc/sys/dev/cdrom/lock - echo 0 > /proc/sys/dev/cdrom/autoeject + if [ "${FSTYPE}" = "iso9660" -o "${FSTYPE}" = "udf" ]; then + if [ -d /proc/sys/dev/cdrom ]; then + echo 0 > /proc/sys/dev/cdrom/lock + echo 0 > /proc/sys/dev/cdrom/autoeject + fi fi if [ "${break}" = "y" ]; then |