kernel: update linux 3.2 to 3.2.12
[openwrt.git] / package / block-mount / files / extmount.sh
index 41a0e23..d6387cc 100644 (file)
@@ -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
 }
This page took 0.02262 seconds and 4 git commands to generate.