X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=584193e223bdec9219d72a91609993b3d055d6a4;hb=6ac1aac5fcd96ce1e986e64884bd8c16a7aa9ea8;hp=1b5c89e51def57b2d810c90c9061f6d5600bfd3e;hpb=f88546749c32ecf41bf31871507aa012af4e807b;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 1b5c89e..584193e 100755 --- a/scripts/live +++ b/scripts/live @@ -536,7 +536,7 @@ is_nice_device () PATH_ID="/sbin/udevadm test-builtin path_id" fi - if "${PATH_ID}" "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)" + if ${PATH_ID} "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)" then return 0 elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$' @@ -1952,6 +1952,7 @@ mountroot () then # We found a memdisk, set up phram modprobe phram phram=memdisk,${MEMDISK} + modprobe phram phram=memdisk,${MEMDISK} # Load mtdblock, the memdisk will be /dev/mtdblock0 modprobe mtdblock