diff options
author | Daniel Dickinson <crazycshore@gmail.com> | 2011-11-02 18:38:38 +0000 |
---|---|---|
committer | Daniel Dickinson <crazycshore@gmail.com> | 2011-11-02 18:38:38 +0000 |
commit | c4e9e4d27ed84b056e7e195826e782cad3c7230b (patch) | |
tree | b3a6434ea2469ecf70902a0bd43d79a00a38b0c2 | |
parent | b8d90aceb23e039e4996cc832bb709be341c7da6 (diff) | |
download | upstream-c4e9e4d27ed84b056e7e195826e782cad3c7230b.tar.gz upstream-c4e9e4d27ed84b056e7e195826e782cad3c7230b.tar.bz2 upstream-c4e9e4d27ed84b056e7e195826e782cad3c7230b.zip |
block-mount: Fixed module loading (double cat is wrong)
SVN-Revision: 28717
-rw-r--r-- | package/block-mount/files/extmount.sh | 2 |
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 } |