index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | 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 | ba3290b5bd3b2c303617652091d37925544ca67f (patch) | |
tree | c800f24db24962facf497f9e89e356c116d82112 /archiso/hooks | |
parent | 2763f3da324f1742892288640c63d1bedaaba56e (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 |