diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/qoriq/base-files/etc/board.d/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/qoriq/base-files/etc/board.d/02_network b/target/linux/qoriq/base-files/etc/board.d/02_network index 35b7ce9f32..355c8d37a4 100644 --- a/target/linux/qoriq/base-files/etc/board.d/02_network +++ b/target/linux/qoriq/base-files/etc/board.d/02_network @@ -21,7 +21,7 @@ watchguard,firebox-m300) sweth_mac_offset=0x186d - for sweth in /sys/class/net/sweth*; do + for sweth in $(find /sys/class/net/ -name 'sweth*' -print); do device="$(basename "$sweth")" mac="$(mtd_get_mac_text wg_cfg0 "$sweth_mac_offset")" switchports="$switchports $device" |