02_network 327 B

12345678910111213141516171819202122
  1. . /lib/functions/uci-defaults.sh
  2. . /lib/functions.sh
  3. . /lib/functions/system.sh
  4. board_config_update
  5. board=$(board_name)
  6. case "$board" in
  7. st,stm32mp135f-dk)
  8. ucidef_set_interfaces_lan_wan "eth0" "eth1"
  9. ;;
  10. st,stm32mp157c-dk2 | \
  11. st,stm32mp157c-dk2-scmi)
  12. ucidef_set_interface_lan "eth0"
  13. ;;
  14. esac
  15. board_config_flush
  16. exit 0