summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/functions/boot.sh
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/base-files/files/lib/functions/boot.sh
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/base-files/files/lib/functions/boot.sh')
-rw-r--r--package/base-files/files/lib/functions/boot.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh
index 96c1c59db2..e6f6633adb 100644
--- a/package/base-files/files/lib/functions/boot.sh
+++ b/package/base-files/files/lib/functions/boot.sh
@@ -42,7 +42,7 @@ dupe() { # <new_root> <old_root>
{
cd $2
find . -xdev -type d
- echo "./dev ./jffs ./mnt ./proc ./tmp"
+ echo "./dev ./overlay ./mnt ./proc ./tmp"
# xdev skips mounted directories
cd $1
} | xargs mkdir -p
@@ -69,7 +69,6 @@ pivot() { # <new_root> <old_root>
mount -o move $2/dev /dev
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
}