Changeset 20427


Ignore:
Timestamp:
2010-03-25T16:27:30+01:00 (8 years ago)
Author:
florian
Message:

[rdc] fix the mac address setting on sitecom devices after r20294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc

    r19515 r20427  
    99 
    1010set_ether_mac() { 
    11         kernel=$(grep magic /proc/mtd | awk -F: '{print $1}') 
     11        kernel=$(grep firmware /proc/mtd | awk -F: '{print $1}') 
    1212        [ -n $kernel ] && hdr=$(dd if=/dev/$kernel count=4 bs=1 2> /dev/null) 
    1313        [ "$hdr" = "CSYS" ] && config=$(find_mtd_part config) 
Note: See TracChangeset for help on using the changeset viewer.