From c6a6dc32a1901126d69e3f861e244b1d66836962 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sun, 11 Jan 2004 20:55:18 +0000 Subject: [PATCH] more fixes git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@49 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/initrd.scripts | 2 +- generic/linuxrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/initrd.scripts b/generic/initrd.scripts index ab80dfa..d454912 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -33,7 +33,7 @@ modules_scan() { } findcdmount() { - if [ "$#" -gt "1" ] + if [ "$#" -gt "0" ] then for x in $* do diff --git a/generic/linuxrc b/generic/linuxrc index d4c2ac2..0760181 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -74,7 +74,7 @@ mkdir /newroot if [ "${CDROOT}" -eq "1" ] then mount -t tmpfs tmpfs /newroot - mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp/.initrd /newroot/mnt/gentoo + mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp /newroot/tmp/.initrd /newroot/mnt/gentoo [ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev devfsd /newroot/dev sleep 1 -- 2.26.2