aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-extroot/files/50_determine_usb_root
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-21 17:16:50 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-21 17:16:50 +0000
commit6e84b166c4911c234aba20c8da35f8e961c63bd7 (patch)
treee138e970fbc908b545200b9015dd51bdfe592169 /package/block-extroot/files/50_determine_usb_root
parenta229f681cec8ad6a5623cb3fd829e35a83f8bbcc (diff)
downloadmaster-187ad058-6e84b166c4911c234aba20c8da35f8e961c63bd7.tar.gz
master-187ad058-6e84b166c4911c234aba20c8da35f8e961c63bd7.tar.bz2
master-187ad058-6e84b166c4911c234aba20c8da35f8e961c63bd7.zip
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/50_determine_usb_root')
-rw-r--r--package/block-extroot/files/50_determine_usb_root4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/block-extroot/files/50_determine_usb_root b/package/block-extroot/files/50_determine_usb_root
index 1e5f153b6a..192990c919 100644
--- a/package/block-extroot/files/50_determine_usb_root
+++ b/package/block-extroot/files/50_determine_usb_root
@@ -16,8 +16,8 @@ determine_external_root() {
# extroot requires extroot and fstab config files, therefore
# we assume configuration is incomplete and not to be used if either of them
# is missing (for jffs versions of these files on squashfs image)
- if [ "$jffs" = "/jffs" ] && [ -r "/jffs/etc/config/fstab" ]; then
- UCI_CONFIG_DIR="/jffs/etc/config"
+ if [ "$jffs" = "/tmp/overlay" ] && [ -r "/tmp/overlay/etc/config/fstab" ]; then
+ UCI_CONFIG_DIR="/tmp/overlay/etc/config"
ER_IS_SQUASHFS=true
fi