Ignore:
Timestamp:
2011-11-03T21:02:25+01:00 (5 years ago)
Author:
nbd
Message:

base-files: load modules early, run wifi detect afterwards and only then process uci defaults

this allows uci-defaults scripts to override wifi settings

File:
1 edited

Legend:

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

    r28495 r28733  
    1111        setup_switch 
    1212 
    13         /sbin/wifi detect > /tmp/wireless.tmp 
    14         [ -s /tmp/wireless.tmp ] && { 
    15                 cat /tmp/wireless.tmp >> /etc/config/wireless 
    16         } 
    17         rm -f /tmp/wireless.tmp 
    1813        grep -qs config /etc/config/wireless && { 
    1914                /sbin/wifi up 
Note: See TracChangeset for help on using the changeset viewer.