netifd: fix compile error when both libnl and libnl-tiny are built
[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.027027 seconds and 4 git commands to generate.