aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-mount
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2011-11-02 18:38:38 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2011-11-02 18:38:38 +0000
commitcf54126de393e7391ddcc757400fdf62bf6cb39f (patch)
treef4e0c77b84dcc081b136b4764e982e4b58f78346 /package/block-mount
parent6e7bb36f22249b10f038ed5de9893c0cab9674ed (diff)
downloadmaster-187ad058-cf54126de393e7391ddcc757400fdf62bf6cb39f.tar.gz
master-187ad058-cf54126de393e7391ddcc757400fdf62bf6cb39f.tar.bz2
master-187ad058-cf54126de393e7391ddcc757400fdf62bf6cb39f.zip
[package] block-mount: Fixed module loading (double cat is wrong)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28717 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/block-mount')
-rw-r--r--package/block-mount/files/extmount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-mount/files/extmount.sh b/package/block-mount/files/extmount.sh
index 41a0e23863..d6387cc588 100644
--- a/package/block-mount/files/extmount.sh
+++ b/package/block-mount/files/extmount.sh
@@ -20,7 +20,7 @@ er_load_modules() {
ln -sf /lib/modules/*/* /tmp/overlay/lib/modules/*/* /tmp/extroot_modules/modules
local modules="$(cat /tmp/extroot_modules/modules.d/* 2>/dev/null)"
cd /tmp/extroot_modules/modules && [ -n "$modules" ] && {
- cat $modules | sed -e 's/^\([^#].*\)/insmod \.\/\1.ko/'| sh 2>&- || :
+ echo "$modules" | sed -e 's/^\([^#].*\)/insmod \.\/\1.ko/'| sh 2>&- || :
}
rm -rf /tmp/extroot_modules
}