Changeset 37003


Ignore:
Timestamp:
2013-06-21T18:53:59+02:00 (5 years ago)
Author:
blogic
Message:

base-files: module loading is now handled by ubox/kmodloader

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/package/base-files/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/boot

    r36920 r37003  
    4949        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe 
    5050 
    51         if [ -f /sbin/kmodloader ]; then 
    52                 /sbin/kmodloader 
    53         else 
    54                 load_modules /etc/modules.d/* 
    55         fi 
     51        /sbin/kmodloader 
    5652 
    5753        # allow wifi modules time to settle 
  • trunk/package/base-files/files/lib/functions.sh

    r35646 r37003  
    202202                c="$(($c + 1))" 
    203203        done 
    204 } 
    205  
    206 load_modules() { 
    207         [ -d /etc/modules.d ] && { 
    208                 cd /etc/modules.d 
    209                 sed 's/^[^#]/insmod &/' $* | ash 2>&- || : 
    210         } 
    211204} 
    212205 
Note: See TracChangeset for help on using the changeset viewer.