git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@49 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Brad House 21 years ago
parent a3ee9dad5e
commit c6a6dc32a1

@ -33,7 +33,7 @@ modules_scan() {
}
findcdmount() {
if [ "$#" -gt "1" ]
if [ "$#" -gt "0" ]
then
for x in $*
do

@ -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

Loading…
Cancel
Save