Check for dummy 'livecd' file instead of 'gentoo'.
authorTim Yamin <plasmaroo@gentoo.org>
Thu, 3 Mar 2005 22:34:46 +0000 (22:34 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Thu, 3 Mar 2005 22:34:46 +0000 (22:34 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@179 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/initrd.scripts

index bfb7dbd1f2b9d4eb8db1e856914e249828e94c6f..05a35c3d98afaaa0cabe1c2844fde13cd6a58bcc 100644 (file)
@@ -47,7 +47,7 @@ findcdmount() {
                        if [ "$?" = '0' ]
                        then
                                # Check for a LiveCD
-                               if [ -e /newroot/mnt/cdrom/gentoo ]
+                               if [ -e /newroot/mnt/cdrom/livecd ]
                                then
                                        REAL_ROOT="${x}"
                                        break