summaryrefslogtreecommitdiffstats
path: root/package/block-extroot/files/60_pivot_usb_root
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 17:16:50 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 17:16:50 +0000
commit9e7554db871433758f661e85f8ff95501b62d935 (patch)
treee138e970fbc908b545200b9015dd51bdfe592169 /package/block-extroot/files/60_pivot_usb_root
parentf27821cfcab3a5f8561399086e92db8585cf2925 (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/block-extroot/files/60_pivot_usb_root')
-rw-r--r--package/block-extroot/files/60_pivot_usb_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-extroot/files/60_pivot_usb_root b/package/block-extroot/files/60_pivot_usb_root
index c8572a35f..1c9be97ca 100644
--- a/package/block-extroot/files/60_pivot_usb_root
+++ b/package/block-extroot/files/60_pivot_usb_root
@@ -10,7 +10,7 @@ external_root_pivot() {
check_skip || [ "$pi_extroot_mount_success" != "true" ] || {
echo "switching to external rootfs"
if [ "$ER_IS_SQUASHFS" = "true" ]; then
- umount /jffs
+ umount /tmp/overlay
fi
mount -o remount,ro / && fopivot /overlay /rom && pi_mount_skip_next=true
}