diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-02-26 22:46:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-02-26 22:46:10 +0000 |
commit | ddf22a9a5112939fbc67473ee6431f19af8811ad (patch) | |
tree | 3ad67390f54afb3c49c662e0df68041834f6abd9 /package/base-files/files/lib/functions/boot.sh | |
parent | 2de472e0f15fc3daf1669d302ecb78ecc5f643c5 (diff) | |
download | upstream-ddf22a9a5112939fbc67473ee6431f19af8811ad.tar.gz upstream-ddf22a9a5112939fbc67473ee6431f19af8811ad.tar.bz2 upstream-ddf22a9a5112939fbc67473ee6431f19af8811ad.zip |
add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19880 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/functions/boot.sh')
-rw-r--r-- | package/base-files/files/lib/functions/boot.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh index 46b4613300..8c8fa52d79 100644 --- a/package/base-files/files/lib/functions/boot.sh +++ b/package/base-files/files/lib/functions/boot.sh @@ -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 } } |