X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-main.sh;h=0c0bd6887bdce2ab1d38285bad6b672ba95b874b;hb=214cc032c4713bfaaecb2fb3b4377589684c90ab;hp=85b8a1de4b0394ae00d6aa778957644d2f50124a;hpb=3d474f82e4b76d73d86407c8945861fe3e3be8b5;p=live-boot-grml.git diff --git a/components/9990-main.sh b/components/9990-main.sh index 85b8a1d..0c0bd68 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -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 @@ -148,15 +149,6 @@ Live () log_end_msg - # unionfs-fuse needs /dev to be bind-mounted for the duration of - # live-bottom; udev's init script will take care of things after that - case "${UNIONTYPE}" in - unionfs-fuse) - mount -n -o bind /dev "${rootmnt}/dev" - ;; - esac - - # aufs2 in kernel versions around 2.6.33 has a regression: # directories can't be accessed when read for the first the time, # causing a failure for example when accessing /var/lib/fai @@ -201,11 +193,7 @@ Live () Swap - case "${UNIONFS}" in - unionfs-fuse) - umount "${rootmnt}/dev" - ;; - esac + Grml_Networking exec 1>&6 6>&- exec 2>&7 7>&-