add block-extroot, a package for using an external filesystem as rootfs (patch by...
[openwrt.git] / package / base-files / files / lib / functions / boot.sh
index 46b4613..8c8fa52 100644 (file)
@@ -66,6 +66,7 @@ pivot() { # <new_root> <old_root>
                mount -o move $2/tmp /tmp
                mount -o move $2/sys /sys 2>&-
                mount -o move $2/jffs /jffs 2>&-
+               mount -o move $2/overlay /overlay 2>&-
                return 0
        }
 }