Changeset 28717


Ignore:
Timestamp:
2011-11-02T19:38:38+01:00 (6 years ago)
Author:
cshore
Message:

[package] block-mount: Fixed module loading (double cat is wrong)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/block-mount/files/extmount.sh

    r28650 r28717  
    2121        local modules="$(cat /tmp/extroot_modules/modules.d/* 2>/dev/null)" 
    2222        cd /tmp/extroot_modules/modules && [ -n "$modules" ] && { 
    23                 cat $modules | sed -e 's/^\([^#].*\)/insmod \.\/\1.ko/'| sh 2>&- || : 
     23                echo "$modules" | sed -e 's/^\([^#].*\)/insmod \.\/\1.ko/'| sh 2>&- || : 
    2424        } 
    2525        rm -rf /tmp/extroot_modules 
Note: See TracChangeset for help on using the changeset viewer.