Isn't this script uses this file and generate configuration files? BTW, I've found that in file target/linux/ramips/base-files/etc/board.d/02_network The order of ports is funny. I'd apply this patch.