Try loading phram module twice to fix loading issue.
authorMichael Prokop <mika@grml.org>
Fri, 26 Jun 2015 13:00:32 +0000 (15:00 +0200)
committerEvgeni Golov <evgeni@grml.org>
Fri, 21 Aug 2015 14:44:47 +0000 (16:44 +0200)
phram doesn't work on first modprobe, when loading once again itseems
to work. So let's try it this way.

components/9990-main.sh

index 512c624..e5884f9 100755 (executable)
@@ -58,6 +58,7 @@ Live ()
                                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