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 35b7ce9f321..355c8d37a46 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"