diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-21 17:16:50 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-21 17:16:50 +0000 |
commit | 9e7554db871433758f661e85f8ff95501b62d935 (patch) | |
tree | e138e970fbc908b545200b9015dd51bdfe592169 /package/base-files/files/lib/preinit/70_pivot_jffs2_root | |
parent | f27821cfcab3a5f8561399086e92db8585cf2925 (diff) |
change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/preinit/70_pivot_jffs2_root')
-rw-r--r-- | package/base-files/files/lib/preinit/70_pivot_jffs2_root | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/70_pivot_jffs2_root b/package/base-files/files/lib/preinit/70_pivot_jffs2_root index f0a2a5569..821bfb14f 100644 --- a/package/base-files/files/lib/preinit/70_pivot_jffs2_root +++ b/package/base-files/files/lib/preinit/70_pivot_jffs2_root @@ -5,7 +5,8 @@ rootfs_pivot() { check_skip || jffs2_not_mounted || { echo "switching to jffs2" - fopivot /jffs /rom && pi_mount_skip_next=true + mount -o move /tmp/overlay /overlay 2>&- + fopivot /overlay /rom && pi_mount_skip_next=true } } |